Fix some bugs with starting AI in mercs

The vtable ptr is that of the current constructor the code is in ...
This commit is contained in:
Michael Cook (mackal)
2015-01-27 19:53:13 -05:00
parent 7dcd12fb9d
commit a12011ca1e
4 changed files with 10 additions and 10 deletions
-2
View File
@@ -75,7 +75,6 @@ Merc::Merc(const NPCType* d, float x, float y, float z, float heading)
SetMana(GetMaxMana());
SetEndurance(GetMaxEndurance());
AI_Init();
AI_Start();
}
@@ -1737,7 +1736,6 @@ void Merc::AI_Process() {
}
void Merc::AI_Start(int32 iMoveDelay) {
NPC::AI_Start(iMoveDelay);
if (!pAIControlled)
return;