[Scummvm-cvs-logs] SF.net SVN: scummvm:[54769] scummvm/trunk/engines/mohawk/livingbooks.cpp
fuzzie at users.sourceforge.net
fuzzie at users.sourceforge.net
Sun Dec 5 00:47:59 CET 2010
Revision: 54769
http://scummvm.svn.sourceforge.net/scummvm/?rev=54769&view=rev
Author: fuzzie
Date: 2010-12-04 23:47:59 +0000 (Sat, 04 Dec 2010)
Log Message:
-----------
MOHAWK: fix LiveText items without phrases
Modified Paths:
--------------
scummvm/trunk/engines/mohawk/livingbooks.cpp
Modified: scummvm/trunk/engines/mohawk/livingbooks.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/livingbooks.cpp 2010-12-04 23:47:43 UTC (rev 54768)
+++ scummvm/trunk/engines/mohawk/livingbooks.cpp 2010-12-04 23:47:59 UTC (rev 54769)
@@ -2405,8 +2405,11 @@
_vm->_sound->stopSound();
_currentWord = 0xFFFF;
- _currentPhrase = 0;
+ // some LiveText items don't have any phrases!
+ if (_phrases.size() > 0)
+ _currentPhrase = 0;
+
return 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