diff --git a/src/lib/subs/move.c b/src/lib/subs/move.c index 27f2fbab..478b43b4 100644 --- a/src/lib/subs/move.c +++ b/src/lib/subs/move.c @@ -168,10 +168,10 @@ move_ground(struct sctstr *start, struct sctstr *end, *movstr = 0; continue; } - do movstr++; while (isspace(*movstr)); + movstr++; if (dir == DIR_MAP) { if (!exploring) - map(curx, cury, movstr); + map(curx, cury, movstr + 1); *movstr = 0; continue; } else if (dir == DIR_STOP)