[Scummvm-cvs-logs] CVS: scummvm/scumm resource_v2.cpp,1.31,1.32

Max Horn fingolfin at users.sourceforge.net
Mon Sep 8 20:01:26 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv9915

Modified Files:
	resource_v2.cpp 
Log Message:
set _musicEngine for V1/V2 games, too

Index: resource_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/resource_v2.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- resource_v2.cpp	6 Sep 2003 03:48:08 -0000	1.31
+++ resource_v2.cpp	8 Sep 2003 16:47:21 -0000	1.32
@@ -32,7 +32,7 @@
 
 	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 @@
 		_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;





More information about the Scummvm-git-logs mailing list