diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wage/entities.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/entities.h b/engines/wage/entities.h index ce006a6785..33cf087322 100644 --- a/engines/wage/entities.h +++ b/engines/wage/entities.h @@ -124,7 +124,7 @@ public: void setDesignBounds(Common::Rect *bounds); - Common::String toString() { return _name; } + Common::String toString() { if (!this) return "<NULL>"; return _name; } }; class Chr : public Designed { |