aboutsummaryrefslogtreecommitdiff
path: root/saga/scene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'saga/scene.cpp')
-rw-r--r--saga/scene.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/saga/scene.cpp b/saga/scene.cpp
index 131460697e..6e0d1c2740 100644
--- a/saga/scene.cpp
+++ b/saga/scene.cpp
@@ -898,20 +898,17 @@ int Scene::processSceneResources() {
int Scene::draw(SURFACE *dst_s) {
BUFFER_INFO buf_info;
- Point bg_pt;
+ Point bgPoint(0, 0);
assert(_initialized);
_vm->_render->getBufferInfo(&buf_info);
- bg_pt.x = 0;
- bg_pt.y = 0;
-
if (_vm->_scene->getFlags() & kSceneFlagISO) {
_vm->_isoMap->draw(dst_s);
} else {
bufToSurface(dst_s, buf_info.bg_buf, _vm->getDisplayWidth(),
- MAX(_vm->getSceneHeight(), _bg.h), NULL, &bg_pt);
+ MAX(_vm->getSceneHeight(), _bg.h), NULL, &bgPoint);
}
return SUCCESS;