From 486c00891ba34884e5b2cdd8d44b4d8496f11283 Mon Sep 17 00:00:00 2001 From: Brian Date: Sun, 14 Feb 2010 19:13:14 -0700 Subject: * Core switch to client 3.3.2 (11403) * Credits (in no particular order) to: * n0n4m3, raczman, manuel, Spp, Malcrom, Teacher, QAston, Tartalo, * thenecromancer, Xanadu, Trazom, Zor, kiper * Additional credits to: * TOM_RUS and NoFantasy from MaNGOS * Thanks for testing Aokromes and XTElite1 * SoTA still needs some work, but is very playable (huge thanks to raczman and * kiper) * To upgrade, you need to apply all SQL from sql/updates/3.2.2a_old from the * last rev you are on * and then apply all SQL from sql/updates/3.3.2_old to char / realmd / world * DBs * Known problem with guild banks. --HG-- branch : trunk --- src/game/Level2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/Level2.cpp') diff --git a/src/game/Level2.cpp b/src/game/Level2.cpp index 530a243794d..62fc94b541a 100644 --- a/src/game/Level2.cpp +++ b/src/game/Level2.cpp @@ -508,8 +508,8 @@ bool ChatHandler::HandleGameObjectTargetCommand(const char* args) o = fields[5].GetFloat(); mapid = fields[6].GetUInt16(); phase = fields[7].GetUInt16(); - pool_id = poolhandler.IsPartOfAPool(lowguid, TYPEID_GAMEOBJECT); - if (!pool_id || (pool_id && poolhandler.IsSpawnedObject(pool_id, lowguid, TYPEID_GAMEOBJECT))) + pool_id = poolhandler.IsPartOfAPool(lowguid); + if (!pool_id || poolhandler.IsSpawnedObject(lowguid)) found = true; } while( result->NextRow() && (!found) ); -- cgit v1.2.3