[9577] Implement SCRIPT_COMMAND_DESPAWN_SELF (self = creature in this context)

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-03-12 17:31:44 +01:00
parent dbbc45828a
commit 29b2c80449
4 changed files with 28 additions and 1 deletions

View file

@ -4386,6 +4386,11 @@ void ObjectMgr::LoadScripts(ScriptMapMap& scripts, char const* tablename)
}
break;
}
case SCRIPT_COMMAND_DESPAWN_SELF:
{
// for later, we might consider despawn by database guid, and define in datalong2 as option to despawn self.
break;
}
}
if (scripts.find(tmp.id) == scripts.end())