aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-09-08 16:47:21 +0000
committerMax Horn2003-09-08 16:47:21 +0000
commit302974b00319316c98a4e04881b48932388cc181 (patch)
tree61d7abc51e4152bec62c901f32351ee9323188ac
parentbac8a0da5b0f0a14bb76372ca6163b71c55d62a0 (diff)
downloadscummvm-rg350-302974b00319316c98a4e04881b48932388cc181.tar.gz
scummvm-rg350-302974b00319316c98a4e04881b48932388cc181.tar.bz2
scummvm-rg350-302974b00319316c98a4e04881b48932388cc181.zip
set _musicEngine for V1/V2 games, too
svn-id: r10094
-rw-r--r--scumm/resource_v2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/resource_v2.cpp b/scumm/resource_v2.cpp
index cf7135b752..29ebd9fde1 100644
--- a/scumm/resource_v2.cpp
+++ b/scumm/resource_v2.cpp
@@ -32,7 +32,7 @@ void Scumm_v2::readClassicIndexFile() {
if (_gameId == GID_MANIAC) {
if (!(_features & GF_AMIGA) && !(_features & GF_NES))
- _playerV2 = new Player_V1(this);
+ _musicEngine = _playerV2 = new Player_V1(this);
_numGlobalObjects = 800;
_numRooms = 55;
@@ -41,7 +41,7 @@ void Scumm_v2::readClassicIndexFile() {
_numSounds = 100;
} else if (_gameId == GID_ZAK) {
if (!(_features & GF_AMIGA))
- _playerV2 = new Player_V2(this);
+ _musicEngine = _playerV2 = new Player_V2(this);
_numGlobalObjects = 775;
_numRooms = 61;