aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/scriptables/SXString.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Base/scriptables/SXString.h')
-rw-r--r--engines/wintermute/Base/scriptables/SXString.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/Base/scriptables/SXString.h b/engines/wintermute/Base/scriptables/SXString.h
index c9fcad6463..04f9bc80c3 100644
--- a/engines/wintermute/Base/scriptables/SXString.h
+++ b/engines/wintermute/Base/scriptables/SXString.h
@@ -39,8 +39,8 @@ public:
virtual int scCompare(CBScriptable *Val);
DECLARE_PERSISTENT(CSXString, CBScriptable)
CScValue *scGetProperty(const char *name);
- ERRORCODE scSetProperty(const char *name, CScValue *value);
- ERRORCODE scCallMethod(CScScript *script, CScStack *stack, CScStack *thisStack, const char *name);
+ bool scSetProperty(const char *name, CScValue *value);
+ bool scCallMethod(CScScript *script, CScStack *stack, CScStack *thisStack, const char *name);
void scSetString(const char *val);
const char *scToString();
void setStringVal(const char *val);