subs/move: Drop syntax deprecated in 4.3.27
Deprecated in commit 28d4847
: no space between 'm' and its first
argument. Affects explore, move, test, transport.
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
f374ef64dd
commit
5400fd87a5
1 changed files with 0 additions and 7 deletions
|
@ -172,13 +172,6 @@ move_ground(struct sctstr *start, struct sctstr *end,
|
||||||
}
|
}
|
||||||
if (dir == DIR_MAP) {
|
if (dir == DIR_MAP) {
|
||||||
parse(movstr, scanspace, argp, NULL, NULL, NULL);
|
parse(movstr, scanspace, argp, NULL, NULL, NULL);
|
||||||
if (argp[0][1]) {
|
|
||||||
pr("Use of '%c' without a space before its argument is deprecated.\n"
|
|
||||||
"Support for it will go away in a future release\n",
|
|
||||||
*movstr);
|
|
||||||
argp[2] = argp[1];
|
|
||||||
argp[1] = argp[0] + 1;
|
|
||||||
}
|
|
||||||
if (!exploring)
|
if (!exploring)
|
||||||
map(curx, cury, argp[1], argp[2]);
|
map(curx, cury, argp[1], argp[2]);
|
||||||
*movstr = 0;
|
*movstr = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue