aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap/scenes/scene18.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gnap/scenes/scene18.cpp')
-rw-r--r--engines/gnap/scenes/scene18.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/gnap/scenes/scene18.cpp b/engines/gnap/scenes/scene18.cpp
index b338b4c3fc..4bd75f59a4 100644
--- a/engines/gnap/scenes/scene18.cpp
+++ b/engines/gnap/scenes/scene18.cpp
@@ -309,7 +309,7 @@ void GnapEngine::scene18_waitForGnapAction() {
}
void GnapEngine::scene18_run() {
- _s18_cowboyHatSurface = 0;
+ _s18_cowboyHatSurface = nullptr;
playSound(0x10940, true);
startSoundTimerA(4);
@@ -398,7 +398,6 @@ void GnapEngine::scene18_run() {
}
while (!_sceneDone) {
-
updateMouseCursor();
updateCursorByHotspot();
@@ -407,9 +406,6 @@ void GnapEngine::scene18_run() {
_sceneClickedHotspot = getClickedHotspotId();
updateGrabCursorSprite(0, 0);
- if (_sceneClickedHotspot >= 0)
- debug("_sceneClickedHotspot: %d", _sceneClickedHotspot);
-
switch (_sceneClickedHotspot) {
case kHSDevice: