aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2007-06-06 18:09:52 +0000
committerFilippos Karapetis2007-06-06 18:09:52 +0000
commit5d46606bb0d4d57f00655686e541f86593109799 (patch)
tree172e4b0ab7e25320e7ad708263cab3b81b2babbc
parent00dac8c10f3bdd0737d3e8be025bd8d51f9d7a05 (diff)
downloadscummvm-rg350-5d46606bb0d4d57f00655686e541f86593109799.tar.gz
scummvm-rg350-5d46606bb0d4d57f00655686e541f86593109799.tar.bz2
scummvm-rg350-5d46606bb0d4d57f00655686e541f86593109799.zip
Fixed the parameter order in sfScriptFade
svn-id: r27143
-rw-r--r--engines/saga/sfuncs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp
index ec26bda562..560bf10b5a 100644
--- a/engines/saga/sfuncs.cpp
+++ b/engines/saga/sfuncs.cpp
@@ -1905,10 +1905,10 @@ void Script::sfWaitFrames(SCRIPTFUNC_PARAMS) {
}
void Script::sfScriptFade(SCRIPTFUNC_PARAMS) {
- int16 startingBrightness = thread->pop();
- int16 endingBrightness = thread->pop();
thread->pop(); // first pal entry, ignored (already handled by Gfx::palToBlack)
thread->pop(); // last pal entry, ignored (already handled by Gfx::palToBlack)
+ int16 startingBrightness = thread->pop();
+ int16 endingBrightness = thread->pop();
// delay between pal changes is always 10 (not used)
Event event;