aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-11 17:50:02 -0500
committermegamage <none@none>2009-08-11 17:50:02 -0500
commitdb0558a66f1ae967d522c6eb5ee07323bb5d3fae (patch)
tree2f69c373f8905f8de72cc187d2673719de271af2 /src
parent892bd4057686a21cd9377b16410cb3941163b374 (diff)
*Fix compile in debug mode.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/ObjectGridLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/ObjectGridLoader.cpp b/src/game/ObjectGridLoader.cpp
index 2399019237f..82222f1e91e 100644
--- a/src/game/ObjectGridLoader.cpp
+++ b/src/game/ObjectGridLoader.cpp
@@ -59,7 +59,7 @@ ObjectGridRespawnMover::Visit(CreatureMapType &m)
Creature * c = iter->getSource();
++iter;
- assert(!c->isWorldCreature() && "ObjectGridRespawnMover don't must be called for pets");
+ assert(!c->isPet() && "ObjectGridRespawnMover don't must be called for pets");
Cell const& cur_cell = c->GetCurrentCell();