diff options
-rw-r--r-- | queen/resource.cpp | 2 | ||||
-rw-r--r-- | scumm/scummvm.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/queen/resource.cpp b/queen/resource.cpp index abc4f3fdc0..0ece5e4d38 100644 --- a/queen/resource.cpp +++ b/queen/resource.cpp @@ -44,7 +44,7 @@ const GameVersion Resource::_gameVersions[] = { }; Resource::Resource(const Common::String &datafilePath) - : _resourceEntries(0), _resourceTable(NULL), _datafilePath(datafilePath), _JAS2Pos(0) { + : _JAS2Pos(0), _datafilePath(datafilePath), _resourceEntries(0), _resourceTable(NULL) { _resourceFile = new File(); _resourceFile->open(dataFilename, _datafilePath); diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index e691797ad5..aa4eb0a6ba 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -270,11 +270,11 @@ static const GameSettings scumm_settings[] = { ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst) : Engine(detector, syst), - _targetName(detector->_targetName), _gameId(detector->_game.id), _version(detector->_game.version), _features(detector->_game.features), - gdi(this), _pauseDialog(0), _optionsDialog(0), _saveLoadDialog(0) { + gdi(this), _pauseDialog(0), _optionsDialog(0), _saveLoadDialog(0), + _targetName(detector->_targetName) { OSystem::Property prop; // Init all vars - maybe now we can get rid of our custom new/delete operators? |