From d8a30008749d9ce430562fa4e8805cde89a0bba6 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Thu, 5 Mar 2009 21:30:17 +0000 Subject: [PATCH] Fix another failure to check for GoodObject() --- src/game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game.c b/src/game.c index fc90a04..d34fb0b 100644 --- a/src/game.c +++ b/src/game.c @@ -1279,8 +1279,8 @@ process_command(dbref player, char *command, dbref cause, dbref realcause, int /* if nothing matched with zone master room/zone object, try * matching zone commands on the player's personal zone */ - if ((!a) && (Zone(player) != NOTHING) && - (Zone(Location(check_loc)) != Zone(player))) { + if ((!a) && (Zone(player) != NOTHING) && GoodObject(Location(check_loc)) + && (Zone(Location(check_loc)) != Zone(player))) { if (IsRoom(Zone(player))) /* Player's personal zone is a zone master room, so we * also check commands on objects in that room -- 2.30.2