diff options
author | Paul Gilbert | 2015-05-18 20:57:58 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-05-18 20:57:58 -0400 |
commit | a09937121c3844071ab992115f32b47d57a5d337 (patch) | |
tree | 00c852882f76e4f3a3e7f8c18bd8544004963e22 /engines/sherlock/scene.cpp | |
parent | 8d426ca46435426c925007b08c933fdccdd75fa8 (diff) | |
download | scummvm-rg350-a09937121c3844071ab992115f32b47d57a5d337.tar.gz scummvm-rg350-a09937121c3844071ab992115f32b47d57a5d337.tar.bz2 scummvm-rg350-a09937121c3844071ab992115f32b47d57a5d337.zip |
SHERLOCK: Syntactic fixes
Diffstat (limited to 'engines/sherlock/scene.cpp')
-rw-r--r-- | engines/sherlock/scene.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/engines/sherlock/scene.cpp b/engines/sherlock/scene.cpp index 78858bc284..e71bc7eef7 100644 --- a/engines/sherlock/scene.cpp +++ b/engines/sherlock/scene.cpp @@ -26,6 +26,13 @@ namespace Sherlock { +static const int FS_TRANS[8] = { + STOP_UP, STOP_UPRIGHT, STOP_RIGHT, STOP_DOWNRIGHT, STOP_DOWN, + STOP_DOWNLEFT, STOP_LEFT, STOP_UPLEFT +}; + +/*----------------------------------------------------------------*/ + /** * Load the data for the object */ @@ -637,11 +644,6 @@ void Scene::transitionToScene() { Common::Point &hSavedPos = people._hSavedPos; int &hSavedFacing = people._hSavedFacing; - const int FS_TRANS[8] = { - STOP_UP, STOP_UPRIGHT, STOP_RIGHT, STOP_DOWNRIGHT, STOP_DOWN, - STOP_DOWNLEFT, STOP_LEFT, STOP_UPLEFT - }; - if (hSavedPos.x < 1) { // No exit information from last scene-check entrance info if (_entrance._startPosition.x < 1) { |