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 -2
View File
@@ -250,8 +250,8 @@ NPC::NPC(const NPCType* d, Spawn2* in_respawn, const glm::vec4& position, int if
npc_aggro = d->npc_aggro;
if(!IsMerc())
AI_Start();
AI_Init();
AI_Start();
d_melee_texture1 = d->d_melee_texture1;
d_melee_texture2 = d->d_melee_texture2;