[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.202,1.203

Max Horn fingolfin at users.sourceforge.net
Thu Jan 8 06:42:01 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv9542

Modified Files:
	actor.cpp 
Log Message:
Workaround for bug #770049

Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.202
retrieving revision 1.203
diff -u -d -r1.202 -r1.203
--- actor.cpp	7 Jan 2004 10:34:53 -0000	1.202
+++ actor.cpp	8 Jan 2004 14:41:14 -0000	1.203
@@ -1121,6 +1121,12 @@
 	_messagePtr = addMessageToStack(_messagePtr);
 	assert((int)(_msgPtrToAdd - _charsetBuffer) < (int)(sizeof(_charsetBuffer)));
 
+	// FIXMW: Workaround for bug #770049
+	if (_gameId == GID_LOOM) {
+		if (!*_charsetBuffer)
+			return;
+	}
+
 	if (_actorToPrintStrFor == 0xFF) {
 		if (!_keepText)
 			stopTalk();





More information about the Scummvm-git-logs mailing list