From 2257db88d3b7923f4cf97b81a4a62ab68f5c5ec0 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 21 Dec 2008 22:52:44 +0000 Subject: - Added some stubs for the SAGA2 games dino and fta2 - Stopped loading the isomap and puzzle game modules for IHNM, as they are not used for that game (this saves some memory for IHNM) - Removed getDisplayWidth() and getDisplayHeight() svn-id: r35473 --- engines/saga/render.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/saga/render.cpp') diff --git a/engines/saga/render.cpp b/engines/saga/render.cpp index 5e5c9ee09d..918f8325d8 100644 --- a/engines/saga/render.cpp +++ b/engines/saga/render.cpp @@ -55,7 +55,7 @@ Render::Render(SagaEngine *vm, OSystem *system) { _vm->_timer->installTimerProc(&fpsTimerCallback, 1000000, this); #endif - _backGroundSurface.create(_vm->getDisplayWidth(), _vm->getDisplayHeight(), 1); + _backGroundSurface.create(_vm->getDisplayInfo().logicalWidth, _vm->getDisplayInfo().logicalHeight, 1); _flags = 0; @@ -104,7 +104,7 @@ void Render::drawScene() { if (!(_flags & RF_DISABLE_ACTORS) || _vm->getGameId() == GID_ITE) _vm->_scene->draw(); - if (_vm->_puzzle->isActive()) { + if (_vm->getGameId() == GID_ITE && _vm->_puzzle->isActive()) { _vm->_puzzle->movePiece(mousePoint); _vm->_actor->drawSpeech(); } else { -- cgit v1.2.3