Browse Source

Fix swim skill increasing in AoM client

Emagi 1 year ago
parent
commit
465b23b1bc
1 changed files with 2 additions and 1 deletions
  1. 2 1
      EQ2/source/WorldServer/Player.cpp

+ 2 - 1
EQ2/source/WorldServer/Player.cpp

@@ -3428,7 +3428,8 @@ void Player::PrepareIncomingMovementPacket(int32 len, uchar* data, int16 version
 		
 		appearance.pos.grid_id = grid_id;
 	}
-	if (activity == UPDATE_ACTIVITY_IN_WATER_ABOVE || activity == UPDATE_ACTIVITY_IN_WATER_BELOW) {
+	if (activity == UPDATE_ACTIVITY_IN_WATER_ABOVE || activity == UPDATE_ACTIVITY_IN_WATER_BELOW ||
+		activity == UPDATE_ACTIVITY_MOVE_WATER_BELOW_AOM || activity == UPDATE_ACTIVITY_MOVE_WATER_ABOVE_AOM) {
 		if (MakeRandomFloat(0, 100) < 25 && InWater())
 			GetSkillByName("Swimming", true);
 	}