]> git.pond.sub.org Git - empserver/commitdiff
subs/move: Drop syntax deprecated in 4.3.27
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 1 Mar 2015 08:58:55 +0000 (09:58 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 2 Mar 2015 07:20:53 +0000 (08:20 +0100)
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>
src/lib/subs/move.c

index 323017c1633747a4767150a857fdb04f631f5436..a66d2840cbbe85f6509697337926793f124fe77e 100644 (file)
@@ -172,13 +172,6 @@ move_ground(struct sctstr *start, struct sctstr *end,
        }
        if (dir == DIR_MAP) {
            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)
                map(curx, cury, argp[1], argp[2]);
            *movstr = 0;