diff options
author | megamage <none@none> | 2009-08-11 16:14:45 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-11 16:14:45 -0500 |
commit | 9403ff03e792154b5709a05d8dfdd7da123ce9b5 (patch) | |
tree | f6072a69420fcb17da553ef3bc5821daee895b3e /src/game/DynamicObject.cpp | |
parent | 4267816fca55b137bf4c7e4e530816dc5c4e7d43 (diff) |
*Only use m_isWorldObject to check if an object is in grid or world.
--HG--
branch : trunk
Diffstat (limited to 'src/game/DynamicObject.cpp')
-rw-r--r-- | src/game/DynamicObject.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/DynamicObject.cpp b/src/game/DynamicObject.cpp index 80b0d91a1b8..7316bb58884 100644 --- a/src/game/DynamicObject.cpp +++ b/src/game/DynamicObject.cpp @@ -100,6 +100,9 @@ bool DynamicObject::Create( uint32 guidlow, Unit *caster, uint32 spellId, uint32 m_effIndex = effIndex; m_spellId = spellId; m_updateTimer = 0; + + if(m_effIndex == 4) + m_isWorldObject = true; return true; } |