From be5361da1575c7fc71487418e86f3aa0be4b17eb Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Thu, 7 Jul 2011 01:10:40 -0700 Subject: [PATCH] creaturemanager: oops, "-i" was broken --- tools/playground/creaturemanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/playground/creaturemanager.cpp b/tools/playground/creaturemanager.cpp index 81943e489..fc82ff41c 100644 --- a/tools/playground/creaturemanager.cpp +++ b/tools/playground/creaturemanager.cpp @@ -728,8 +728,8 @@ public: uint32_t creature_idx) { // A list of ids overrides everything else. - if(find_int(creature_id, creature_idx)) - return true; + if (creature_id.size() > 0) + return (find_int(creature_id, creature_idx)); // If it's not a list of ids, it has not match all given criteria.