Changeset 238
- Timestamp:
- 11/19/08 13:49:35 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/DynamicObject.cpp
r237 r238 138 138 { 139 139 // Make sure the object is back to grid container for removal as farsight targets 140 // are switched to world container on creation 141 GetMap()->SwitchGridContainers(this, false); 140 // are switched to world container on creation and they are also set to active 141 if (isActive()) 142 { 143 GetMap()->SwitchGridContainers(this, false); 144 setActive(false); 145 } 142 146 SendObjectDeSpawnAnim(GetGUID()); 143 147 AddObjectToRemoveList();