Closed jakubg1 closed 2 years ago
When multiple looping sound events of the same file are active and one of it is stopped, all instances are stopped. The solution is to make the sound play function return a handler and use it to stop that particular instance.
Fixed for BonusScarab in https://github.com/jakubg1/OpenSMCE/commit/fe7e82f5344fe3d648a6cfedc9de7c319391eaca. Still needs to be fixed in Scorpion.
Fixed for Scorpion: https://github.com/jakubg1/OpenSMCE/commit/692ee86ab960188c85f2b1a2e8b01d905d0537ae
When multiple looping sound events of the same file are active and one of it is stopped, all instances are stopped. The solution is to make the sound play function return a handler and use it to stop that particular instance.