diff --git a/src/lib/commands/move.c b/src/lib/commands/move.c index dcd386da..2e5556b8 100644 --- a/src/lib/commands/move.c +++ b/src/lib/commands/move.c @@ -345,17 +345,14 @@ move(void) * If more commands start doing this, then * rewrite map to do the right thing. */ -/* I think this is no longer used, check subs/move.c:move_ground() */ /*ARGSUSED*/ static int cmd_move_map(s_char *what, coord curx, coord cury, s_char *arg) { + player->argp[0] = "map"; player->argp[1] = arg; - player->argp[2] = ""; - player->argp[3] = ""; - player->argp[4] = ""; - player->argp[5] = ""; - player->condarg = 0; + player->argp[2] = NULL; + player->condarg = NULL; return map(); }