From 6511f2ec2cc8bb1741e989e8d924a4708f3f04a4 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 23 Aug 2015 16:01:32 -0400 Subject: SHERLOCK: Replace various scene numbers with enum values --- engines/sherlock/scalpel/scalpel_scene.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/sherlock/scalpel/scalpel_scene.cpp') 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) { -- cgit v1.2.3