Fix for crash when checking zone master of room
authorAri Johnson <ari@theari.com>
Mon, 25 Nov 2013 02:20:33 +0000 (21:20 -0500)
committerAri Johnson <ari@theari.com>
Mon, 25 Nov 2013 02:20:33 +0000 (21:20 -0500)
src/game.c

index 19b6b206e7e30d3914ced238d1d0709c0b0d4c75..0ed5c1561cf8a059315ae5adb6d033b9590bceb7 100644 (file)
@@ -1274,9 +1274,9 @@ process_command(dbref player, char *command, dbref cause, dbref realcause,  int
              goto done;
            }
          } else
-           a += list_match(Contents(Zone(Location(player))));
+           a += list_match(Contents(Zone(check_loc)));
        } else {
-         a += cmd_match(Zone(Location(player)));
+         a += cmd_match(Zone(check_loc));
          MAYBE_ADD_ERRDB(errdb);
        }
       }