*Call new function InitializeAI() instead of Reset() to do one-time work.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-13 17:53:09 -05:00
parent ce9f023a96
commit 6b11f9a511
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ struct TRINITY_DLL_DECL ScriptedAI : public CreatureAI
//*************
//Called at creature reset either by death or evade
virtual void Reset() = 0;
void Reset() {}
//Called at creature aggro either by MoveInLOS or Attack Start
virtual void Aggro(Unit*) = 0;