added boundary checks for sound/music ID for some sound and music functions
authorHolger Schemel <info@artsoft.org>
Fri, 2 Feb 2018 23:51:48 +0000 (00:51 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 2 Feb 2018 23:55:29 +0000 (00:55 +0100)
commit380e92ce7e5befac890b63be28e534e4c8b545be
tree7a12a1493690a93b10bcf15fd7904632248745a4
parent7b3991f74b0e0dc6774453a59e674696560c2d93
added boundary checks for sound/music ID for some sound and music functions

- this causes game music with negative music ID not being played anymore
- negative music IDs are used for (game) music files not specified in a GIC
- playing game music with negative ID will be fixed in the next commit
src/libgame/sound.c