diff --git a/src/game/game.cpp b/src/game/game.cpp index b21917f2..7cb3eb8c 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -7499,7 +7499,7 @@ bool Game::combatChangeHealth(const std::shared_ptr &attacker, const s int32_t adjustedDamage = realDamage; if (target) { if (realDamage > targetHealth) { - adjustedDamage = targetHealth > 0 ? targetHealth : realDamage; + adjustedDamage = targetHealth > 0 ? targetHealth : realDamage; } } @@ -7512,7 +7512,7 @@ bool Game::combatChangeHealth(const std::shared_ptr &attacker, const s targetPlayer, message, spectators.data(), - adjustedDamage //realDamage + adjustedDamage // realDamage ); if (attackerPlayer) {