From 1a69604e82e6bd9be32e7e4411b5a052157eb720 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 7 May 2007 01:11:10 +0000 Subject: Cleanup. svn-id: r26769 --- engines/agos/draw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/agos/draw.cpp') diff --git a/engines/agos/draw.cpp b/engines/agos/draw.cpp index 48d275bea7..701a6af5f2 100644 --- a/engines/agos/draw.cpp +++ b/engines/agos/draw.cpp @@ -399,11 +399,11 @@ void AGOSEngine::updateScreen() { } } - _system->copyRectToScreen(_backBuf, _screenWidth, 0, 0, _screenWidth, _screenHeight); + _system->copyRectToScreen(getBackBuf(), _screenWidth, 0, 0, _screenWidth, _screenHeight); _system->updateScreen(); if (getGameId() != GID_DIMP) - memcpy(_backBuf, _frontBuf, _screenWidth * _screenHeight); + memcpy(getBackBuf(), getFrontBuf(), _screenWidth * _screenHeight); if (getGameType() == GType_FF && _scrollFlag) { scrollScreen(); -- cgit v1.2.3