Parcourir la source

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 il y a 3 ans
Parent
commit
0d7e64ed3b
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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();
 	}
 }