summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/map.c2
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;
}