diff options
Diffstat (limited to 'engines/glk/hugo/heobject.cpp')
-rw-r--r-- | engines/glk/hugo/heobject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/hugo/heobject.cpp b/engines/glk/hugo/heobject.cpp index cc1416d98d..931f9a3abd 100644 --- a/engines/glk/hugo/heobject.cpp +++ b/engines/glk/hugo/heobject.cpp @@ -504,7 +504,7 @@ void Hugo::MoveObj(int obj, int p) { } } -char *Hugo::Name(int obj) { +const char *Hugo::Name(int obj) { int p; p = GetProp(obj, 0, 1, 0); @@ -512,7 +512,7 @@ char *Hugo::Name(int obj) { if (p) return GetWord((unsigned int)p); else - return 0; + return nullptr; } int Hugo::Parent(int obj) { |