Revert "(move_ground): Passed junk to map callback when 'm' sub-command"
It ignores all embedded space, not just trailing space after 'm'.
This reverts commit f65b255d18
.
This commit is contained in:
parent
d59e19f5c2
commit
40cfb41b4e
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue