set _version to detector value
svn-id: r8367
This commit is contained in:
parent
04db5c12ab
commit
00b53b5e81
1 changed files with 2 additions and 7 deletions
|
@ -556,17 +556,12 @@ Scumm::Scumm (GameDetector *detector, OSystem *syst)
|
||||||
_debugLevel = detector->_debugLevel;
|
_debugLevel = detector->_debugLevel;
|
||||||
_dumpScripts = detector->_dumpScripts;
|
_dumpScripts = detector->_dumpScripts;
|
||||||
_bootParam = detector->_bootParam;
|
_bootParam = detector->_bootParam;
|
||||||
#if 1
|
|
||||||
_exe_name = strdup(detector->_game.filename);
|
_exe_name = strdup(detector->_game.filename);
|
||||||
_game_name = strdup(detector->_gameFileName.c_str());
|
_game_name = strdup(detector->_gameFileName.c_str());
|
||||||
_gameId = detector->_game.id;
|
_gameId = detector->_game.id;
|
||||||
|
_version = detector->_game.version;
|
||||||
setFeatures(detector->_game.features);
|
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;
|
_noSubtitles = detector->_noSubtitles;
|
||||||
_defaultTalkDelay = detector->_talkSpeed;
|
_defaultTalkDelay = detector->_talkSpeed;
|
||||||
_use_adlib = detector->_use_adlib;
|
_use_adlib = detector->_use_adlib;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue