aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2004-01-08 21:58:46 +0000
committerMax Horn2004-01-08 21:58:46 +0000
commit65bfcb71fe7910e16b5e4e0e6665fa3b9e77510e (patch)
treeb3004c4b9c0627ddf7f890fd374f2b765ced64bf /scumm
parent84f4a137307f06562a6adbb0c735287ecc2771b5 (diff)
downloadscummvm-rg350-65bfcb71fe7910e16b5e4e0e6665fa3b9e77510e.tar.gz
scummvm-rg350-65bfcb71fe7910e16b5e4e0e6665fa3b9e77510e.tar.bz2
scummvm-rg350-65bfcb71fe7910e16b5e4e0e6665fa3b9e77510e.zip
oops
svn-id: r12265
Diffstat (limited to 'scumm')
-rw-r--r--scumm/gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 1ef003741f..c9c05c0e19 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -570,8 +570,8 @@ void ScummEngine::restoreBG(Common::Rect rect, byte backColor) {
int offset = rect.top * vs->width + vs->xstart + rect.left;
backbuff = vs->screenPtr + offset;
- const int height = rect.height();
- const int width = rect.width();
+ int height = rect.height();
+ int width = rect.width();
if (vs->hasTwoBuffers && _currentRoom != 0 && isLightOn()) {
blit(backbuff, vs->backBuf + offset, width, height);