aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/UIEntity.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/UIEntity.h')
-rw-r--r--engines/wintermute/UIEntity.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/UIEntity.h b/engines/wintermute/UIEntity.h
index 3f4b8c9ee2..ab3e74f9e6 100644
--- a/engines/wintermute/UIEntity.h
+++ b/engines/wintermute/UIEntity.h
@@ -38,13 +38,13 @@ public:
DECLARE_PERSISTENT(CUIEntity, CUIObject)
CUIEntity(CBGame *inGame);
virtual ~CUIEntity();
- HRESULT LoadFile(char *Filename);
+ HRESULT LoadFile(const char *Filename);
HRESULT LoadBuffer(byte *Buffer, bool Complete);
virtual HRESULT SaveAsText(CBDynBuffer *Buffer, int Indent);
virtual HRESULT Display(int OffsetX = 0, int OffsetY = 0);
CAdEntity *_entity;
- HRESULT SetEntity(char *Filename);
+ HRESULT SetEntity(const char *Filename);
// scripting interface
virtual CScValue *ScGetProperty(char *Name);