From: Ari Johnson Date: Mon, 25 Nov 2013 02:20:33 +0000 (-0500) Subject: Fix for crash when checking zone master of room X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=e834aa9898b5f59fceac5e89717856087daca5d3;p=cobramush.git Fix for crash when checking zone master of room --- diff --git a/src/game.c b/src/game.c index 19b6b20..0ed5c15 100644 --- a/src/game.c +++ b/src/game.c @@ -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); } }