From 7e7cf4e748172f956fddb7c6f21f34bfef058242 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 13 Sep 2016 20:27:09 +0200 Subject: BLADERUNNER: Fix compilation --- engines/bladerunner/audio_player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/bladerunner') diff --git a/engines/bladerunner/audio_player.cpp b/engines/bladerunner/audio_player.cpp index 1698bfbd4f..dc6f19542a 100644 --- a/engines/bladerunner/audio_player.cpp +++ b/engines/bladerunner/audio_player.cpp @@ -166,7 +166,7 @@ void AudioPlayer::fadeAndStopTrack(Track *track, int time) int AudioPlayer::playAud(const Common::String &name, int volume, int panFrom, int panTo, int priority, byte flags) { /* Find first available track or, alternatively, the lowest priority playing track */ Track *track = NULL; - int lowestPriority = INT_MAX; + int lowestPriority = 1000000; Track *lowestPriorityTrack = NULL; for (int i = 0; i != 6; ++i) { -- cgit v1.2.3