GOB: Fix a very stupid mistake in the Gob1 background track selection

Thanks to salty-horse for catching that. :)
This commit is contained in:
Sven Hesse 2012-06-23 18:24:29 +02:00
parent 50d328af3a
commit 95d9052c8d

View File

@ -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))];