aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/sfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/sfuncs.cpp')
-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;