aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel
diff options
context:
space:
mode:
authorPaul Gilbert2015-04-26 18:29:20 -0500
committerPaul Gilbert2015-04-26 18:29:20 -0500
commit65eb390ead25c54b1e3c547f3e189a7ccb73becb (patch)
treeab235ea8c28d422eccd43d4f03359ab9f793ee09 /engines/sherlock/scalpel
parentf3bd61607017fe0ef0f5143e6ad8dbdb4743b246 (diff)
downloadscummvm-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.cpp18
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;
}