diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-26 13:56:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-31 23:07:45 +0300 |
commit | 01831ca6fe214679120c8ffc1e65966ae5521210 (patch) | |
tree | f29a51834a6f50ecfce2042c9527afce45cea672 /src | |
parent | 070cd0dc6b1665657b5e8196b721eeb412af4809 (diff) | |
download | hercules-01831ca6fe214679120c8ffc1e65966ae5521210.tar.gz hercules-01831ca6fe214679120c8ffc1e65966ae5521210.tar.bz2 hercules-01831ca6fe214679120c8ffc1e65966ae5521210.tar.xz hercules-01831ca6fe214679120c8ffc1e65966ae5521210.zip |
fix wrong check.
Diffstat (limited to 'src')
-rw-r--r-- | src/map/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c index 2820ac1fe..173835d0d 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -5563,7 +5563,7 @@ CPCMD(gm_position) { return; } - if ( (m = map->mapname2mapid(map_name) <= 0 ) ) { + if ((m = map->mapname2mapid(map_name)) <= 0) { ShowError("gm:info '"CL_WHITE"%s"CL_RESET"' is not a known map\n",map_name); return; } |