[Scummvm-cvs-logs] SF.net SVN: scummvm:[55822] scummvm/trunk/engines/mohawk/livingbooks.cpp
mthreepwood at users.sourceforge.net
mthreepwood at users.sourceforge.net
Tue Feb 8 05:24:25 CET 2011
Revision: 55822
http://scummvm.svn.sourceforge.net/scummvm/?rev=55822&view=rev
Author: mthreepwood
Date: 2011-02-08 04:24:25 +0000 (Tue, 08 Feb 2011)
Log Message:
-----------
MOHAWK: Fix poetry mode for v2 games
Modified Paths:
--------------
scummvm/trunk/engines/mohawk/livingbooks.cpp
Modified: scummvm/trunk/engines/mohawk/livingbooks.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/livingbooks.cpp 2011-02-08 04:23:29 UTC (rev 55821)
+++ scummvm/trunk/engines/mohawk/livingbooks.cpp 2011-02-08 04:24:25 UTC (rev 55822)
@@ -232,7 +232,11 @@
// 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?)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list