aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/draw.cpp
diff options
context:
space:
mode:
authorTravis Howell2007-05-07 01:11:10 +0000
committerTravis Howell2007-05-07 01:11:10 +0000
commit1a69604e82e6bd9be32e7e4411b5a052157eb720 (patch)
tree045dc00a3e1168593176bc51cba082e5ce9758ca /engines/agos/draw.cpp
parentc4c9ff55332beec55b4bb3fe49af9efdcad88c46 (diff)
downloadscummvm-rg350-1a69604e82e6bd9be32e7e4411b5a052157eb720.tar.gz
scummvm-rg350-1a69604e82e6bd9be32e7e4411b5a052157eb720.tar.bz2
scummvm-rg350-1a69604e82e6bd9be32e7e4411b5a052157eb720.zip
Cleanup.
svn-id: r26769
Diffstat (limited to 'engines/agos/draw.cpp')
-rw-r--r--engines/agos/draw.cpp4
1 files changed, 2 insertions, 2 deletions
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();