aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/scriptables/SXArray.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Base/scriptables/SXArray.h')
-rw-r--r--engines/wintermute/Base/scriptables/SXArray.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/Base/scriptables/SXArray.h b/engines/wintermute/Base/scriptables/SXArray.h
index 81599892d9..040fbaf481 100644
--- a/engines/wintermute/Base/scriptables/SXArray.h
+++ b/engines/wintermute/Base/scriptables/SXArray.h
@@ -35,15 +35,15 @@ namespace WinterMute {
class CSXArray : public CBScriptable {
public:
- HRESULT push(CScValue *Val);
+ ERRORCODE push(CScValue *Val);
bool validNumber(const char *origStr, char *outStr);
DECLARE_PERSISTENT(CSXArray, CBScriptable)
CSXArray(CBGame *inGame, CScStack *stack);
CSXArray(CBGame *inGame);
virtual ~CSXArray();
CScValue *scGetProperty(const char *name);
- HRESULT scSetProperty(const char *name, CScValue *value);
- HRESULT scCallMethod(CScScript *script, CScStack *stack, CScStack *thisStack, const char *name);
+ ERRORCODE scSetProperty(const char *name, CScValue *value);
+ ERRORCODE scCallMethod(CScScript *script, CScStack *stack, CScStack *thisStack, const char *name);
const char *scToString();
int _length;
CScValue *_values;