diff options
author | Einar Johan Trøan Sømåen | 2012-07-09 00:11:20 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-09 00:11:20 +0200 |
commit | fa3868518d1769353ccf335b7435a9c7a90154f4 (patch) | |
tree | 5f8d6d02f0eb6c75e454418b71ed39edd6674647 /engines/wintermute/Base/BFrame.cpp | |
parent | cb06b9feecc2aa591a9a107061f97ee74168f12e (diff) | |
download | scummvm-rg350-fa3868518d1769353ccf335b7435a9c7a90154f4.tar.gz scummvm-rg350-fa3868518d1769353ccf335b7435a9c7a90154f4.tar.bz2 scummvm-rg350-fa3868518d1769353ccf335b7435a9c7a90154f4.zip |
WINTERMUTE: Rename FuncName/VarName->funcName/varName in ScScript
Diffstat (limited to 'engines/wintermute/Base/BFrame.cpp')
-rw-r--r-- | engines/wintermute/Base/BFrame.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/Base/BFrame.cpp b/engines/wintermute/Base/BFrame.cpp index 58b0b5384b..65d2d55f6a 100644 --- a/engines/wintermute/Base/BFrame.cpp +++ b/engines/wintermute/Base/BFrame.cpp @@ -439,7 +439,7 @@ HRESULT CBFrame::scCallMethod(CScScript *script, CScStack *stack, CScStack *this stack->correctParams(1);
int index = stack->pop()->getInt(-1);
if (index < 0 || index >= _subframes.GetSize()) {
- script->RuntimeError("Frame.GetSubframe: Subframe index %d is out of range.", index);
+ script->runtimeError("Frame.GetSubframe: Subframe index %d is out of range.", index);
stack->pushNULL();
} else stack->pushNative(_subframes[index], true);
@@ -455,7 +455,7 @@ HRESULT CBFrame::scCallMethod(CScScript *script, CScStack *stack, CScStack *this if (val->isInt()) {
int index = val->getInt(-1);
if (index < 0 || index >= _subframes.GetSize()) {
- script->RuntimeError("Frame.DeleteSubframe: Subframe index %d is out of range.", index);
+ script->runtimeError("Frame.DeleteSubframe: Subframe index %d is out of range.", index);
}
} else {
CBSubFrame *sub = (CBSubFrame *)val->getNative();
@@ -522,7 +522,7 @@ HRESULT CBFrame::scCallMethod(CScScript *script, CScStack *stack, CScStack *this stack->correctParams(1);
int index = stack->pop()->getInt(-1);
if (index < 0 || index >= _applyEvent.GetSize()) {
- script->RuntimeError("Frame.GetEvent: Event index %d is out of range.", index);
+ script->runtimeError("Frame.GetEvent: Event index %d is out of range.", index);
stack->pushNULL();
} else stack->pushString(_applyEvent[index]);
return S_OK;
|