aboutsummaryrefslogtreecommitdiff
path: root/saga
diff options
context:
space:
mode:
authorAndrew Kurushin2005-05-30 16:40:50 +0000
committerAndrew Kurushin2005-05-30 16:40:50 +0000
commite5ab68c0db698e20c933f201507a7951bc07da10 (patch)
treeb5d49705b18db01c2774b7bfde1217b51928b835 /saga
parent4821b9908f6c720c39d130649f2520b86c4a765d (diff)
downloadscummvm-rg350-e5ab68c0db698e20c933f201507a7951bc07da10.tar.gz
scummvm-rg350-e5ab68c0db698e20c933f201507a7951bc07da10.tar.bz2
scummvm-rg350-e5ab68c0db698e20c933f201507a7951bc07da10.zip
fix start clipping issue
svn-id: r18300
Diffstat (limited to 'saga')
-rw-r--r--saga/scene.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/saga/scene.cpp b/saga/scene.cpp
index 0464618c50..dab5d998ae 100644
--- a/saga/scene.cpp
+++ b/saga/scene.cpp
@@ -862,8 +862,9 @@ void Scene::draw() {
_vm->_isoMap->adjustScroll(false);
_vm->_isoMap->draw(backBuffer);
} else {
+
bufToSurface(backBuffer, buf_info.bg_buf, _vm->getDisplayWidth(),
- MAX(_vm->getSceneHeight(), _bg.h), NULL, &bgPoint);
+ _inGame ? _vm->getClippedSceneHeight() : buf_info.bg_buf_h, NULL, &bgPoint);
}
}