From: Holger Schemel Date: Wed, 29 Dec 2021 14:57:38 +0000 (+0100) Subject: added range check for checking sound and music loops X-Git-Tag: 4.3.1.0~1 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=28efd33e1ab0ff432871d8845eed025893cdabc8;hp=28efd33e1ab0ff432871d8845eed025893cdabc8;p=rocksndiamonds.git added range check for checking sound and music loops This fixes a bug when playing music on the music info screen that is not configured in "musicinfo.conf", therefore getting a negative ID, which caused an illegal array access when checking for music loop. (The added range check takes into account that the default loop mode for sounds is "false", but is "true" for music, if not specified.) ---