Sfoglia il codice sorgente

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 anni fa
parent
commit
0d7e64ed3b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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();
 	}
 }