diff options
author | Travis Howell | 2006-03-22 11:57:46 +0000 |
---|---|---|
committer | Travis Howell | 2006-03-22 11:57:46 +0000 |
commit | 6227f38cba05d89178be16c92c5f7adc0df53504 (patch) | |
tree | 142a2c933016241048033a71148342e0064a4a9f | |
parent | e4664606f78b6a5054abff3ff51acf6c42657c9f (diff) | |
download | scummvm-rg350-6227f38cba05d89178be16c92c5f7adc0df53504.tar.gz scummvm-rg350-6227f38cba05d89178be16c92c5f7adc0df53504.tar.bz2 scummvm-rg350-6227f38cba05d89178be16c92c5f7adc0df53504.zip |
Small correction to scaling code in FF
svn-id: r21405
-rw-r--r-- | engines/simon/vga.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/simon/vga.cpp b/engines/simon/vga.cpp index 83cdaac264..36f6e59772 100644 --- a/engines/simon/vga.cpp +++ b/engines/simon/vga.cpp @@ -879,7 +879,7 @@ void SimonEngine::drawImages_Feeble(VC10_state *state) { _scaleWidth = state->width; _scaleHeight = state->height; } else { - scaleClip(state->height, state->width, state->y, state->x, _scrollY); + scaleClip(state->height, state->width, state->y, state->x, state->y + _scrollY); } } else if (state->flags & kDFOverlayed) { state->surf_addr = getScaleBuf(); @@ -913,7 +913,7 @@ void SimonEngine::drawImages_Feeble(VC10_state *state) { _vgaCurSpritePriority /= 10; if (_vgaCurSpritePriority != 900) { - scaleClip(_scaleHeight, _scaleWidth, _scaleY, _scaleX, _scrollY); + scaleClip(_scaleHeight, _scaleWidth, _scaleY, _scaleX, _scaleY + _scrollY); } } else { if (drawImages_clip(state) == 0) |