aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2011-02-08 04:24:25 +0000
committerMatthew Hoops2011-02-08 04:24:25 +0000
commit464f49d705a42d3b7bd2fedb9564a665716f2a1a (patch)
tree2cad7c4962f0aa1e578bcffe7dc1d815d94ee160 /engines
parent3c53b1c020f264b649f1ce3179ee3febd7480513 (diff)
downloadscummvm-rg350-464f49d705a42d3b7bd2fedb9564a665716f2a1a.tar.gz
scummvm-rg350-464f49d705a42d3b7bd2fedb9564a665716f2a1a.tar.bz2
scummvm-rg350-464f49d705a42d3b7bd2fedb9564a665716f2a1a.zip
MOHAWK: Fix poetry mode for v2 games
svn-id: r55822
Diffstat (limited to 'engines')
-rw-r--r--engines/mohawk/livingbooks.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index e32c7df6a0..4c2cc78ee7 100644
--- a/engines/mohawk/livingbooks.cpp
+++ b/engines/mohawk/livingbooks.cpp
@@ -232,7 +232,11 @@ void MohawkEngine_LivingBooks::loadBookInfo(const Common::String &filename) {
// nColors is here too, but it's always 256 anyway...
// this is 1 in The New Kid on the Block, changes the hardcoded UI
- _poetryMode = (getIntFromConfig("BookInfo", "poetry") == 1);
+ // v2 games changed the flag name to fPoetry
+ if (getGameType() == GType_LIVINGBOOKSV1)
+ _poetryMode = (getIntFromConfig("BookInfo", "poetry") == 1);
+ else
+ _poetryMode = (getIntFromConfig("BookInfo", "fPoetry") == 1);
// The later Living Books games add some more options:
// - fNeedPalette (always true?)