aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-10-14 08:31:56 +0000
committerTorbjörn Andersson2003-10-14 08:31:56 +0000
commit4e3129c64c484f66e8f56fdb4dd5e7fbda06d148 (patch)
treec974171ae295121423e0f234b42ba91941b3327a
parent5aadcb8a155071d1a6293a46071fa7e27fdb805d (diff)
downloadscummvm-rg350-4e3129c64c484f66e8f56fdb4dd5e7fbda06d148.tar.gz
scummvm-rg350-4e3129c64c484f66e8f56fdb4dd5e7fbda06d148.tar.bz2
scummvm-rg350-4e3129c64c484f66e8f56fdb4dd5e7fbda06d148.zip
Fixed warning
svn-id: r10793
-rw-r--r--queen/resource.cpp2
-rw-r--r--scumm/scummvm.cpp4
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?