From 9403ff03e792154b5709a05d8dfdd7da123ce9b5 Mon Sep 17 00:00:00 2001 From: megamage Date: Tue, 11 Aug 2009 16:14:45 -0500 Subject: *Only use m_isWorldObject to check if an object is in grid or world. --HG-- branch : trunk --- src/game/DynamicObject.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/DynamicObject.cpp') 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; } -- cgit v1.2.3