diff options
author | Paul Gilbert | 2015-04-26 18:29:20 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-04-26 18:29:20 -0500 |
commit | 65eb390ead25c54b1e3c547f3e189a7ccb73becb (patch) | |
tree | ab235ea8c28d422eccd43d4f03359ab9f793ee09 /engines/sherlock/scalpel | |
parent | f3bd61607017fe0ef0f5143e6ad8dbdb4743b246 (diff) | |
download | scummvm-rg350-65eb390ead25c54b1e3c547f3e189a7ccb73becb.tar.gz scummvm-rg350-65eb390ead25c54b1e3c547f3e189a7ccb73becb.tar.bz2 scummvm-rg350-65eb390ead25c54b1e3c547f3e189a7ccb73becb.zip |
SHERLOCK: Cleanup and moving of map variables into Map class
Diffstat (limited to 'engines/sherlock/scalpel')
-rw-r--r-- | engines/sherlock/scalpel/scalpel.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/sherlock/scalpel/scalpel.cpp b/engines/sherlock/scalpel/scalpel.cpp index 65ca61b09f..89e042d382 100644 --- a/engines/sherlock/scalpel/scalpel.cpp +++ b/engines/sherlock/scalpel/scalpel.cpp @@ -576,23 +576,23 @@ void ScalpelEngine::startScene() { switch (_scene->_goToScene) { case 52: _scene->_goToScene = 27; // Go to the Lawyer's Office - _scene->_bigPos = Common::Point(0, 0); // Overland scroll position - _scene->_overPos = Common::Point(22900 - 600, 9400 + 900); // Overland position - _scene->_oldCharPoint = 27; + _map->_bigPos = Common::Point(0, 0); // Overland scroll position + _map->_overPos = Common::Point(22900 - 600, 9400 + 900); // Overland position + _map->_oldCharPoint = 27; break; case 53: _scene->_goToScene = 17; // Go to St. Pancras Station - _scene->_bigPos = Common::Point(0, 0); // Overland scroll position - _scene->_overPos = Common::Point(32500 - 600, 3000 + 900); // Overland position - _scene->_oldCharPoint = 17; + _map->_bigPos = Common::Point(0, 0); // Overland scroll position + _map->_overPos = Common::Point(32500 - 600, 3000 + 900); // Overland position + _map->_oldCharPoint = 17; break; default: _scene->_goToScene = 4; // Back to Baker st. - _scene->_bigPos = Common::Point(0, 0); // Overland scroll position - _scene->_overPos = Common::Point(14500 - 600, 8400 + 900); // Overland position - _scene->_oldCharPoint = 4; + _map->_bigPos = Common::Point(0, 0); // Overland scroll position + _map->_overPos = Common::Point(14500 - 600, 8400 + 900); // Overland position + _map->_oldCharPoint = 4; break; } |