aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-02-14 21:10:42 +0000
committerTorbjörn Andersson2006-02-14 21:10:42 +0000
commit2bdbfa06692a7e57d1dbc03bf43be2b8c7df475b (patch)
tree95ac496566da59110aa2866db79494132c97d37c
parentb796860ee80c6a1d975b93ae1f95c76d9f60d8f3 (diff)
downloadscummvm-rg350-2bdbfa06692a7e57d1dbc03bf43be2b8c7df475b.tar.gz
scummvm-rg350-2bdbfa06692a7e57d1dbc03bf43be2b8c7df475b.tar.bz2
scummvm-rg350-2bdbfa06692a7e57d1dbc03bf43be2b8c7df475b.zip
As far as I can tell, The Feeble Files should subtract _scrollX from the
sprite's X coordinate, just as we already do for Simon 2. (I believe that was when scrolling rooms were first introduced.) I've never played The Feeble Files (apart from the first two or three rooms) so I can't say whether or not it uses scrolling rooms. svn-id: r20693
-rw-r--r--engines/simon/vga.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/simon/vga.cpp b/engines/simon/vga.cpp
index d7d0731539..948d200b22 100644
--- a/engines/simon/vga.cpp
+++ b/engines/simon/vga.cpp
@@ -675,7 +675,7 @@ void SimonEngine::vc10_draw() {
_vcPtr += 2;
state.x = (int16)vcReadNextWord();
- if (getGameType() == GType_SIMON2) {
+ if (getGameType() == GType_SIMON2 || getGameType() == GType_FF) {
state.x -= _scrollX;
}
state.y = (int16)vcReadNextWord();