From 5d46606bb0d4d57f00655686e541f86593109799 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 6 Jun 2007 18:09:52 +0000 Subject: Fixed the parameter order in sfScriptFade svn-id: r27143 --- engines/saga/sfuncs.cpp | 4 ++-- 1 file 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; -- cgit v1.2.3