mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-16 02:47:36 +02:00
Fix double-playing of battle effects
This commit is contained in:
parent
1590c710dd
commit
3dedc963f7
@ -941,7 +941,7 @@ void CPlayerInterface::battleStacksEffectsSet( const SetStackEffect & sse )
|
|||||||
void CPlayerInterface::battleTriggerEffect (const BattleTriggerEffect & bte)
|
void CPlayerInterface::battleTriggerEffect (const BattleTriggerEffect & bte)
|
||||||
{
|
{
|
||||||
EVENT_HANDLER_CALLED_BY_CLIENT;
|
EVENT_HANDLER_CALLED_BY_CLIENT;
|
||||||
//TODO why is this different (no return on LOPLINT != this) ?
|
BATTLE_EVENT_POSSIBLE_RETURN;
|
||||||
|
|
||||||
RETURN_IF_QUICK_COMBAT;
|
RETURN_IF_QUICK_COMBAT;
|
||||||
battleInt->effectsController->battleTriggerEffect(bte);
|
battleInt->effectsController->battleTriggerEffect(bte);
|
||||||
|
Loading…
Reference in New Issue
Block a user