mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user