aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gnap/gnap.cpp2
-rw-r--r--engines/gnap/scenes/scene14.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/engines/gnap/gnap.cpp b/engines/gnap/gnap.cpp
index 7d097fdbdc..77039c0dcb 100644
--- a/engines/gnap/gnap.cpp
+++ b/engines/gnap/gnap.cpp
@@ -1029,7 +1029,7 @@ void GnapEngine::deleteSurface(Graphics::Surface **surface) {
if (surface && *surface) {
(*surface)->free();
delete *surface;
- *surface = 0;
+ *surface = nullptr;
}
}
diff --git a/engines/gnap/scenes/scene14.cpp b/engines/gnap/scenes/scene14.cpp
index 46e3c6d6be..6fafc2d66a 100644
--- a/engines/gnap/scenes/scene14.cpp
+++ b/engines/gnap/scenes/scene14.cpp
@@ -165,7 +165,6 @@ void Scene14::run() {
}
_vm->gameUpdateTick();
-
}
if (_vm->_largeSprite)