aboutsummaryrefslogtreecommitdiff
path: root/saga/sfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'saga/sfuncs.cpp')
-rw-r--r--saga/sfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/saga/sfuncs.cpp b/saga/sfuncs.cpp
index f399c5c9cf..9d6040c9d3 100644
--- a/saga/sfuncs.cpp
+++ b/saga/sfuncs.cpp
@@ -1849,7 +1849,7 @@ void Script::sfSetPortraitBgColor(SCRIPTFUNC_PARAMS) {
int16 green = thread->pop();
int16 blue = thread->pop();
- _vm->_gfx->setPaletteColor(254, red, green, blue);
+ _vm->_interface->setPortraitBgColor(red, green, blue);
}
void Script::sfScriptStartCutAway(SCRIPTFUNC_PARAMS) {