diff options
-rw-r--r-- | scumm/gfx.cpp | 4 |
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); |