diff options
Diffstat (limited to 'engines/wintermute/Base/scriptables/SxObject.cpp')
-rw-r--r-- | engines/wintermute/Base/scriptables/SxObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/Base/scriptables/SxObject.cpp b/engines/wintermute/Base/scriptables/SxObject.cpp index 7ebbb45132..d991085792 100644 --- a/engines/wintermute/Base/scriptables/SxObject.cpp +++ b/engines/wintermute/Base/scriptables/SxObject.cpp @@ -46,7 +46,7 @@ CBScriptable *makeSXObject(CBGame *inGame, CScStack *stack) { CSXObject::CSXObject(CBGame *inGame, CScStack *Stack): CBObject(inGame) {
int NumParams = Stack->Pop()->GetInt(0);
for (int i = 0; i < NumParams; i++) {
- AddScript(Stack->Pop()->GetString());
+ addScript(Stack->Pop()->GetString());
}
}
|