Explorar o código

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 %!s(int64=3) %!d(string=hai) anos
pai
achega
0d7e64ed3b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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();
 		ChangePrimaryWeapon();
 		ChangeSecondaryWeapon();
 		ChangeSecondaryWeapon();
 		SetSoundsDisabled(old_npc->IsSoundsDisabled());
 		SetSoundsDisabled(old_npc->IsSoundsDisabled());
+		SetFlyingCreature();
+		SetWaterCreature();
 	}
 	}
 }
 }