*Only use m_isWorldObject to check if an object is in grid or world.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-11 16:14:45 -05:00
parent 4267816fca
commit 9403ff03e7
9 changed files with 30 additions and 94 deletions

View File

@@ -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;
}