Преглед на файлове

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();
 	}
 }