From 7e6539f400f0607e35b269dfb9e33459dc2e85cf Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 16 Jun 2015 10:02:32 +0300 Subject: SHERLOCK: Use IS_3DO in more places --- engines/sherlock/scalpel/scalpel_map.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/sherlock/scalpel/scalpel_map.cpp') diff --git a/engines/sherlock/scalpel/scalpel_map.cpp b/engines/sherlock/scalpel/scalpel_map.cpp index bde56c874d..2177fc5885 100644 --- a/engines/sherlock/scalpel/scalpel_map.cpp +++ b/engines/sherlock/scalpel/scalpel_map.cpp @@ -142,7 +142,7 @@ int ScalpelMap::show() { // Load the entire map ImageFile *bigMap = NULL; - if (_vm->getPlatform() != Common::kPlatform3DO) { + if (!IS_3DO) { // PC bigMap = new ImageFile("bigmap.vgs"); screen.setPalette(bigMap->_palette); @@ -154,7 +154,7 @@ int ScalpelMap::show() { // Load need sprites setupSprites(); - if (_vm->getPlatform() != Common::kPlatform3DO) { + if (!IS_3DO) { screen._backBuffer1.blitFrom((*bigMap)[0], Common::Point(-_bigPos.x, -_bigPos.y)); screen._backBuffer1.blitFrom((*bigMap)[1], Common::Point(-_bigPos.x, SHERLOCK_SCREEN_HEIGHT - _bigPos.y)); screen._backBuffer1.blitFrom((*bigMap)[2], Common::Point(SHERLOCK_SCREEN_WIDTH - _bigPos.x, -_bigPos.y)); @@ -220,7 +220,7 @@ int ScalpelMap::show() { // Map has scrolled, so redraw new map view changed = false; - if (_vm->getPlatform() != Common::kPlatform3DO) { + if (!IS_3DO) { screen._backBuffer1.blitFrom((*bigMap)[0], Common::Point(-_bigPos.x, -_bigPos.y)); screen._backBuffer1.blitFrom((*bigMap)[1], Common::Point(-_bigPos.x, SHERLOCK_SCREEN_HEIGHT - _bigPos.y)); screen._backBuffer1.blitFrom((*bigMap)[2], Common::Point(SHERLOCK_SCREEN_WIDTH - _bigPos.x, -_bigPos.y)); @@ -300,7 +300,7 @@ void ScalpelMap::setupSprites() { Scene &scene = *_vm->_scene; _savedPos.x = -1; - if (_vm->getPlatform() != Common::kPlatform3DO) { + if (!IS_3DO) { // PC _mapCursors = new ImageFile("omouse.vgs"); _shapes = new ImageFile("mapicon.vgs"); -- cgit v1.2.3