From e5ab68c0db698e20c933f201507a7951bc07da10 Mon Sep 17 00:00:00 2001 From: Andrew Kurushin Date: Mon, 30 May 2005 16:40:50 +0000 Subject: fix start clipping issue svn-id: r18300 --- saga/scene.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'saga') 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); } } -- cgit v1.2.3