mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-13 16:44:50 +02:00
fix GYM sound playback (once)
This commit is contained in:
@@ -738,7 +738,7 @@ struct Level : IGame {
|
||||
void stopChannel(Sound::Sample *channel) {
|
||||
if (channel == sndTrack) {
|
||||
sndTrack = NULL;
|
||||
if (level.state.flags.track != TR::LEVEL_INFO[level.id].track) // play ambient track
|
||||
if (level.state.flags.track != TR::LEVEL_INFO[level.id].track && TR::LEVEL_INFO[level.id].track != TR::NO_TRACK) // play ambient track
|
||||
playTrack(0);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user