aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner
diff options
context:
space:
mode:
authorEugene Sandulenko2016-09-13 20:27:09 +0200
committerEugene Sandulenko2016-09-29 22:33:41 +0200
commit7e7cf4e748172f956fddb7c6f21f34bfef058242 (patch)
tree6650122f4c72c9f81d83c62117d550a21c2627fa /engines/bladerunner
parentae03eda3d131017d630139ae63972ebcf75e3fa7 (diff)
downloadscummvm-rg350-7e7cf4e748172f956fddb7c6f21f34bfef058242.tar.gz
scummvm-rg350-7e7cf4e748172f956fddb7c6f21f34bfef058242.tar.bz2
scummvm-rg350-7e7cf4e748172f956fddb7c6f21f34bfef058242.zip
BLADERUNNER: Fix compilation
Diffstat (limited to 'engines/bladerunner')
-rw-r--r--engines/bladerunner/audio_player.cpp2
1 files changed, 1 insertions, 1 deletions
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) {