aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Ad/AdInventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Ad/AdInventory.h')
-rw-r--r--engines/wintermute/Ad/AdInventory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/Ad/AdInventory.h b/engines/wintermute/Ad/AdInventory.h
index 6ba48a59c9..d78b78d89d 100644
--- a/engines/wintermute/Ad/AdInventory.h
+++ b/engines/wintermute/Ad/AdInventory.h
@@ -38,9 +38,9 @@ class CAdItem;
class CAdInventory : public CBObject {
public:
DECLARE_PERSISTENT(CAdInventory, CBObject)
- HRESULT removeItem(const char *name);
- HRESULT removeItem(CAdItem *Item);
- HRESULT insertItem(const char *name, const char *insertAfter = NULL);
+ ERRORCODE removeItem(const char *name);
+ ERRORCODE removeItem(CAdItem *Item);
+ ERRORCODE insertItem(const char *name, const char *insertAfter = NULL);
CAdInventory(CBGame *inGame);
virtual ~CAdInventory();
CBArray<CAdItem *, CAdItem *> _takenItems;