aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/AdNodeState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/AdNodeState.cpp')
-rw-r--r--engines/wintermute/AdNodeState.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/AdNodeState.cpp b/engines/wintermute/AdNodeState.cpp
index 5df3aa8b17..f3cdb6cc4d 100644
--- a/engines/wintermute/AdNodeState.cpp
+++ b/engines/wintermute/AdNodeState.cpp
@@ -76,7 +76,7 @@ void CAdNodeState::SetName(char *Name) {
//////////////////////////////////////////////////////////////////////////
-void CAdNodeState::SetFilename(char *Filename) {
+void CAdNodeState::SetFilename(const char *Filename) {
delete[] _filename;
_filename = NULL;
CBUtils::SetString(&_filename, Filename);
@@ -84,7 +84,7 @@ void CAdNodeState::SetFilename(char *Filename) {
//////////////////////////////////////////////////////////////////////////
-void CAdNodeState::SetCursor(char *Filename) {
+void CAdNodeState::SetCursor(const char *Filename) {
delete[] _cursor;
_cursor = NULL;
CBUtils::SetString(&_cursor, Filename);