diff options
-rw-r--r-- | base/game.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/game.h b/base/game.h index bf83a6eee0..8d5952bd40 100644 --- a/base/game.h +++ b/base/game.h @@ -58,8 +58,8 @@ public: */ void updateDesc(const char *extra = 0); - Common::String &gameid() { return getVal("gameid"); } - Common::String &description() { return getVal("description"); } + const Common::String &gameid() const { return getVal("gameid"); } + const Common::String &description() const { return getVal("description"); } Common::Language language() const { return contains("language") ? Common::parseLanguage(getVal("language")) : Common::UNK_LANG; } Common::Platform platform() const { return contains("platform") ? Common::parsePlatform(getVal("platform")) : Common::kPlatformUnknown; } }; |