X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fanim.c;h=68147f0bc06ac100e36e0a51135864a93b587e84;hb=3e76edd9591c599d4ec9b3a179e07c23c0aa135c;hp=0e866110cb24cd4a6ec290dabe928f4ee60bb727;hpb=c3f3b0337a6d011fdf9bcdab618b8307061879e8;p=rocksndiamonds.git diff --git a/src/anim.c b/src/anim.c index 0e866110..68147f0b 100644 --- a/src/anim.c +++ b/src/anim.c @@ -1411,6 +1411,10 @@ static void InitGlobalAnim_Triggered_ByCustomElement(int nr, int page, part2->triggered = TRUE; + // do not trigger any other animation if CE change event was consumed + if (c->style == STYLE_CONSUME_CE_EVENT) + return; + #if 0 Debug("anim:InitGlobalAnim_Triggered_ByCustomElement", "%d.%d TRIGGERED BY CE %d", anim2_nr, part2_nr, nr + 1);