aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scene.cpp
diff options
context:
space:
mode:
authorColin Snover2017-11-14 12:48:41 -0600
committerEugene Sandulenko2017-11-18 22:35:12 +0100
commitff96db23dfd9e2075a710786fa0b1a01c6759a02 (patch)
tree2014aef31b047f8a1f1dbfd117b05997cedb733f /engines/fullpipe/scene.cpp
parent6f8a65c739740956930c95e1d5a5c5fe0c80fbbd (diff)
downloadscummvm-rg350-ff96db23dfd9e2075a710786fa0b1a01c6759a02.tar.gz
scummvm-rg350-ff96db23dfd9e2075a710786fa0b1a01c6759a02.tar.bz2
scummvm-rg350-ff96db23dfd9e2075a710786fa0b1a01c6759a02.zip
FULLPIPE: Fix leaks and unnecessary extra allocations in FullpipeEngine
Diffstat (limited to 'engines/fullpipe/scene.cpp')
-rw-r--r--engines/fullpipe/scene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/scene.cpp b/engines/fullpipe/scene.cpp
index ee0e5e5c1f..46ad205278 100644
--- a/engines/fullpipe/scene.cpp
+++ b/engines/fullpipe/scene.cpp
@@ -523,7 +523,7 @@ void Scene::draw() {
updateScrolling();
// Clean previous stuff
- g_fp->_backgroundSurface->fillRect(Common::Rect(0, 0, 800, 600), 0);
+ g_fp->_backgroundSurface.fillRect(Common::Rect(0, 0, 800, 600), 0);
drawContent(60000, 0, true);