reverted order of processing game modes for global animations clicks
authorHolger Schemel <info@artsoft.org>
Tue, 12 Dec 2023 11:03:28 +0000 (12:03 +0100)
committerHolger Schemel <info@artsoft.org>
Tue, 12 Dec 2023 11:15:20 +0000 (12:15 +0100)
commit5dc79304dfe047b935e5aeefde3b73ad4d4a83f8
treedfde6773c37eadb558681aaad48a937fa0a7bf0c
parent5df0ee69389d831ac2374b81dccd6f2a44555788
reverted order of processing game modes for global animations clicks

The assumptions that led to the change that is reverted here were
simply wrong: When drawing global animations in a certain order,
checking for mouse clicks must be done in reverse order, to ensure
that the click is processed for the topmost global animation. This
includes processing game modes in reverse order (which are handled
in normal order when drawing global animations).

Processing clicks for a global animation based custom mouse pointer
should be handled separately anyway, to process it independently
from the game mode it was defined for.

This reverts commit e3411dc9.
src/anim.c