aboutsummaryrefslogtreecommitdiff
path: root/base/game.h
diff options
context:
space:
mode:
authorMax Horn2007-01-28 10:29:22 +0000
committerMax Horn2007-01-28 10:29:22 +0000
commitd32b1b1b7a64448ab0a456a8b10008c269183c0e (patch)
tree71ff706108d3f10bb1eb7b5a29ad1213cb86b400 /base/game.h
parent93687d376b0682b1f24878cc071a7196f838ddaa (diff)
downloadscummvm-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.h5
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);