diff options
author | Paul Gilbert | 2015-08-23 16:01:32 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-08-23 16:01:32 -0400 |
commit | 6511f2ec2cc8bb1741e989e8d924a4708f3f04a4 (patch) | |
tree | dcd8c1b7329026b813cddaf64262247fed5a46f7 /engines/sherlock/scalpel | |
parent | 57edfc8a5dd7f96e01759561709744aea5aa9943 (diff) | |
download | scummvm-rg350-6511f2ec2cc8bb1741e989e8d924a4708f3f04a4.tar.gz scummvm-rg350-6511f2ec2cc8bb1741e989e8d924a4708f3f04a4.tar.bz2 scummvm-rg350-6511f2ec2cc8bb1741e989e8d924a4708f3f04a4.zip |
SHERLOCK: Replace various scene numbers with enum values
Diffstat (limited to 'engines/sherlock/scalpel')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_scene.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sherlock/scalpel/scalpel_scene.cpp b/engines/sherlock/scalpel/scalpel_scene.cpp index ff92b50cab..e4c938f56c 100644 --- a/engines/sherlock/scalpel/scalpel_scene.cpp +++ b/engines/sherlock/scalpel/scalpel_scene.cpp @@ -225,7 +225,7 @@ void ScalpelScene::doBgAnim() { _canimShapes[idx].checkObject(); } - if (_currentScene == 12) + if (_currentScene == DRAWING_ROOM) vm.eraseMirror12(); // Restore the back buffer from the back buffer 2 in the changed area @@ -297,7 +297,7 @@ void ScalpelScene::doBgAnim() { // Flag the bg shapes which need to be redrawn checkBgShapes(); - if (_currentScene == 12) + if (_currentScene == DRAWING_ROOM) vm.doMirror12(); // Draw all active shapes which are behind the person @@ -407,7 +407,7 @@ void ScalpelScene::doBgAnim() { } } - if (_currentScene == 12) + if (_currentScene == DRAWING_ROOM) vm.flushMirror12(); for (uint idx = 0; idx < _bgShapes.size(); ++idx) { |