From 464f49d705a42d3b7bd2fedb9564a665716f2a1a Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Tue, 8 Feb 2011 04:24:25 +0000 Subject: MOHAWK: Fix poetry mode for v2 games svn-id: r55822 --- engines/mohawk/livingbooks.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'engines/mohawk/livingbooks.cpp') 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?) -- cgit v1.2.3