From 51fd528fe56e00466255d54e1e71b19f34729bfd Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Thu, 30 Sep 2010 13:02:16 +0000 Subject: GOB: Change all drawing to use class Surface svn-id: r52947 --- engines/gob/goblin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/gob/goblin.cpp') diff --git a/engines/gob/goblin.cpp b/engines/gob/goblin.cpp index 11043df782..ee2b4f52c9 100644 --- a/engines/gob/goblin.cpp +++ b/engines/gob/goblin.cpp @@ -233,9 +233,9 @@ void Goblin::drawObjects() { if (objDesc->toRedraw == 0) continue; - _vm->_video->drawSprite(*_vm->_mult->_animSurf, *_vm->_draw->_backSurface, + _vm->_draw->_backSurface->blit(*_vm->_mult->_animSurf, objDesc->left, objDesc->top, objDesc->right, - objDesc->bottom, objDesc->left, objDesc->top, 0); + objDesc->bottom, objDesc->left, objDesc->top); _vm->_draw->invalidateRect(objDesc->left, objDesc->top, objDesc->right, objDesc->bottom); -- cgit v1.2.3