aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/BScriptable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Base/BScriptable.cpp')
-rw-r--r--engines/wintermute/Base/BScriptable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/Base/BScriptable.cpp b/engines/wintermute/Base/BScriptable.cpp
index 20f64f7fba..8d8c13df29 100644
--- a/engines/wintermute/Base/BScriptable.cpp
+++ b/engines/wintermute/Base/BScriptable.cpp
@@ -63,8 +63,8 @@ CBScriptable::~CBScriptable() {
//////////////////////////////////////////////////////////////////////////
HRESULT CBScriptable::scCallMethod(CScScript *script, CScStack *stack, CScStack *thisStack, const char *name) {
/*
- stack->CorrectParams(0);
- stack->PushNULL();
+ stack->correctParams(0);
+ stack->pushNULL();
script->RuntimeError("Call to undefined method '%s'.", name);
return S_OK;