diff options
author | Max Horn | 2007-01-28 10:29:22 +0000 |
---|---|---|
committer | Max Horn | 2007-01-28 10:29:22 +0000 |
commit | d32b1b1b7a64448ab0a456a8b10008c269183c0e (patch) | |
tree | 71ff706108d3f10bb1eb7b5a29ad1213cb86b400 /base/game.h | |
parent | 93687d376b0682b1f24878cc071a7196f838ddaa (diff) | |
download | scummvm-rg350-d32b1b1b7a64448ab0a456a8b10008c269183c0e.tar.gz scummvm-rg350-d32b1b1b7a64448ab0a456a8b10008c269183c0e.tar.bz2 scummvm-rg350-d32b1b1b7a64448ab0a456a8b10008c269183c0e.zip |
Always set gameid & description in a GameDescriptor (somewhat more future proof fix for the recent regression caused by the changes to gameid() / description() )
svn-id: r25242
Diffstat (limited to 'base/game.h')
-rw-r--r-- | base/game.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/base/game.h b/base/game.h index 99504b276c..8ff8fc8f3d 100644 --- a/base/game.h +++ b/base/game.h @@ -36,7 +36,10 @@ struct PlainGameDescriptor { class GameDescriptor : public Common::StringMap { public: - GameDescriptor() {} + GameDescriptor() { + setVal("gameid", ""); + setVal("description", ""); + } GameDescriptor(const PlainGameDescriptor &pgd) { setVal("gameid", pgd.gameid); |