fixed bug with expiring loop sounds for global animations when playing
authorHolger Schemel <info@artsoft.org>
Wed, 12 Sep 2018 19:08:08 +0000 (21:08 +0200)
committerHolger Schemel <info@artsoft.org>
Wed, 12 Sep 2018 19:08:08 +0000 (21:08 +0200)
commitefcd338d72a50e7972c3d28fe37b925c2cf7434f
treebdc986a81e2d51a30c9335ba64e89688938a3a8f
parentad93f89279233a6adfa0dc0ebe3570c4c614cedb
fixed bug with expiring loop sounds for global animations when playing

When playing the game, loop sounds are automatically expired if they
are not "refreshed" at regular intervals (to prevent playing sounds
for game elements that do not exist on the playfield anymore).

However, this also affects loop sounds for global animations played
during the game, so special care has to be taken to prevent them from
accidentally being expired, too.
src/anim.c