*Remove some incorrect use of removefromworld in scripts.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-13 10:21:57 -05:00
parent c84f63d431
commit 656cb8a318
6 changed files with 16 additions and 13 deletions
+6
View File
@@ -490,6 +490,12 @@ class TRINITY_DLL_SPEC Creature : public Unit
void AddToWorld();
void RemoveFromWorld();
void DisappearAndDie()
{
SetVisibility(VISIBILITY_OFF);
setDeathState(JUST_DIED);
}
bool Create(uint32 guidlow, Map *map, uint32 phaseMask, uint32 Entry, uint32 team, float x, float y, float z, float ang, const CreatureData *data = NULL);
bool LoadCreaturesAddon(bool reload = false);
void SelectLevel(const CreatureInfo *cinfo);