From e06a056fb7067b859ee3e037c78ca801632122e2 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 30 Dec 2024 16:29:07 +0000 Subject: [PATCH] Code format - (Clang-format) --- src/game/game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {