From 3dedc963f7d6ebd1b23c70aebf5c307d2b0e47d4 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Sat, 8 Apr 2023 18:53:28 +0300 Subject: [PATCH] Fix double-playing of battle effects --- client/CPlayerInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/CPlayerInterface.cpp b/client/CPlayerInterface.cpp index 91e6516fe..5c4c0aa7a 100644 --- a/client/CPlayerInterface.cpp +++ b/client/CPlayerInterface.cpp @@ -941,7 +941,7 @@ void CPlayerInterface::battleStacksEffectsSet( const SetStackEffect & sse ) void CPlayerInterface::battleTriggerEffect (const BattleTriggerEffect & bte) { EVENT_HANDLER_CALLED_BY_CLIENT; - //TODO why is this different (no return on LOPLINT != this) ? + BATTLE_EVENT_POSSIBLE_RETURN; RETURN_IF_QUICK_COMBAT; battleInt->effectsController->battleTriggerEffect(bte);