aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-02-14 21:20:10 +0000
committerTorbjörn Andersson2006-02-14 21:20:10 +0000
commitfc3cdbe5a9ff5feb4c765410d89b378fbf9daf68 (patch)
tree29c1c255cea0adb1de4e1514639c79b3817e54d2
parent2bdbfa06692a7e57d1dbc03bf43be2b8c7df475b (diff)
downloadscummvm-rg350-fc3cdbe5a9ff5feb4c765410d89b378fbf9daf68.tar.gz
scummvm-rg350-fc3cdbe5a9ff5feb4c765410d89b378fbf9daf68.tar.bz2
scummvm-rg350-fc3cdbe5a9ff5feb4c765410d89b378fbf9daf68.zip
It looks like Feeble Files adjustis sprite coordinates by _scrollY as well,
where Simon 2 only adjusts by _scrollX. Perhaps Feeble Files have rooms that scroll both horizontally and vertically? Again, this makes no difference to the early stages of the game. svn-id: r20694
-rw-r--r--engines/simon/vga.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/simon/vga.cpp b/engines/simon/vga.cpp
index 948d200b22..687547e312 100644
--- a/engines/simon/vga.cpp
+++ b/engines/simon/vga.cpp
@@ -680,6 +680,10 @@ void SimonEngine::vc10_draw() {
}
state.y = (int16)vcReadNextWord();
+ if (getGameType() == GType_FF) {
+ state.y -= _scrollY;
+ }
+
if (getGameType() == GType_SIMON1) {
state.flags = vcReadNextWord();
} else {