*Do not allow to add/remove obj to/from world more than once.
--HG-- branch : trunk
This commit is contained in:
@@ -130,6 +130,9 @@ class TRINITY_DLL_SPEC Object
|
||||
}
|
||||
virtual void RemoveFromWorld()
|
||||
{
|
||||
if(!m_inWorld)
|
||||
return;
|
||||
|
||||
// if we remove from world then sending changes not required
|
||||
if(m_uint32Values)
|
||||
ClearUpdateMask(true);
|
||||
|
||||
Reference in New Issue
Block a user