浏览代码

fix water creatures out of water

on npc creation need to check their model type since we memcpy in the appearance vs setting the model type
Image 3 年之前
父节点
当前提交
0d7e64ed3b
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      EQ2/source/WorldServer/NPC.cpp

+ 2 - 0
EQ2/source/WorldServer/NPC.cpp

@@ -94,6 +94,8 @@ NPC::NPC(NPC* old_npc){
 		ChangePrimaryWeapon();
 		ChangeSecondaryWeapon();
 		SetSoundsDisabled(old_npc->IsSoundsDisabled());
+		SetFlyingCreature();
+		SetWaterCreature();
 	}
 }