[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.221,2.222

Max Horn fingolfin at users.sourceforge.net
Fri Jun 6 16:57:06 CEST 2003


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

Modified Files:
	scummvm.cpp 
Log Message:
set _version to detector value

Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 2.221
retrieving revision 2.222
diff -u -d -r2.221 -r2.222
--- scummvm.cpp	6 Jun 2003 22:51:33 -0000	2.221
+++ scummvm.cpp	6 Jun 2003 23:56:56 -0000	2.222
@@ -556,17 +556,12 @@
 	_debugLevel = detector->_debugLevel;
 	_dumpScripts = detector->_dumpScripts;
 	_bootParam = detector->_bootParam;
-#if 1
 	_exe_name = strdup(detector->_game.filename);
 	_game_name = strdup(detector->_gameFileName.c_str());
 	_gameId = detector->_game.id;
+	_version = detector->_game.version;
 	setFeatures(detector->_game.features);
-#else
-	_exe_name = strdup(detector->_gameRealName.c_str());	// FIXME: probably should use String class here
-	_game_name = strdup(detector->_gameFileName.c_str());
-	_gameId = detector->_gameId;
-	setFeatures (detector->_features);
-#endif
+
 	_noSubtitles = detector->_noSubtitles;
 	_defaultTalkDelay = detector->_talkSpeed;
 	_use_adlib = detector->_use_adlib;





More information about the Scummvm-git-logs mailing list