From 64df1417d33f42eda52c9fd14dee82d435c3ad14 Mon Sep 17 00:00:00 2001 From: Mirkaan <98285577+Mirkaanks@users.noreply.github.com> Date: Sun, 17 Mar 2024 12:58:42 -0300 Subject: [PATCH] Update combat.cpp --- src/creatures/combat/combat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/creatures/combat/combat.cpp b/src/creatures/combat/combat.cpp index bd42601faee..22f3a300dbb 100644 --- a/src/creatures/combat/combat.cpp +++ b/src/creatures/combat/combat.cpp @@ -182,7 +182,7 @@ bool Combat::isPlayerCombat(std::shared_ptr target) { if (!target) { return false; } - // in combat + if (target->getPlayer()) { return true; }