[Scummvm-cvs-logs] SF.net SVN: scummvm:[49582] scummvm/trunk/engines/sci/engine/message.cpp
mthreepwood at users.sourceforge.net
mthreepwood at users.sourceforge.net
Thu Jun 10 20:16:05 CEST 2010
Revision: 49582
http://scummvm.svn.sourceforge.net/scummvm/?rev=49582&view=rev
Author: mthreepwood
Date: 2010-06-10 18:16:05 +0000 (Thu, 10 Jun 2010)
Log Message:
-----------
Allow for digits in stage directions in SCI32 games: GK1 floppy uses them.
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/message.cpp
Modified: scummvm/trunk/engines/sci/engine/message.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/message.cpp 2010-06-10 15:26:26 UTC (rev 49581)
+++ scummvm/trunk/engines/sci/engine/message.cpp 2010-06-10 18:16:05 UTC (rev 49582)
@@ -330,7 +330,8 @@
}
// If we find a lowercase character or a digit, it's not a stage direction
- if (((inStr[i] >= 'a') && (inStr[i] <= 'z')) || ((inStr[i] >= '0') && (inStr[i] <= '9')))
+ // SCI32 seems to support having digits in stage directions
+ if (((inStr[i] >= 'a') && (inStr[i] <= 'z')) || ((inStr[i] >= '0') && (inStr[i] <= '9') && (getSciVersion() < SCI_VERSION_2)))
return false;
}
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