diff options
author | Sven Hesse | 2012-06-23 18:24:29 +0200 |
---|---|---|
committer | Sven Hesse | 2012-06-23 18:24:29 +0200 |
commit | 95d9052c8de83737e86b584510efe1961b86ff0a (patch) | |
tree | eb9ce4031aed5a26f221489ab37246d9c6f8312e /engines/gob/sound/sound.cpp | |
parent | 50d328af3a4115a9c81b25e0b4b241144a42c305 (diff) | |
download | scummvm-rg350-95d9052c8de83737e86b584510efe1961b86ff0a.tar.gz scummvm-rg350-95d9052c8de83737e86b584510efe1961b86ff0a.tar.bz2 scummvm-rg350-95d9052c8de83737e86b584510efe1961b86ff0a.zip |
GOB: Fix a very stupid mistake in the Gob1 background track selection
Thanks to salty-horse for catching that. :)
Diffstat (limited to 'engines/gob/sound/sound.cpp')
-rw-r--r-- | engines/gob/sound/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/sound/sound.cpp b/engines/gob/sound/sound.cpp index 184e14a2e6..403bd632a1 100644 --- a/engines/gob/sound/sound.cpp +++ b/engines/gob/sound/sound.cpp @@ -352,7 +352,7 @@ void Sound::adlibPlayBgMusic() { const char *track = 0; if (_vm->getPlatform() == Common::kPlatformWindows) - track = tracksWin[ARRAYSIZE(tracksWin)]; + track = tracksWin[_vm->_util->getRandom(ARRAYSIZE(tracksWin))]; else track = tracksMac[_vm->_util->getRandom(ARRAYSIZE(tracksMac))]; |