[ scummvm-Patches-618987 ] Regression fix: The Dig invalid opcodes

noreply at sourceforge.net noreply at sourceforge.net
Sat Oct 5 18:51:24 CEST 2002


Patches item #618987, was opened at 2002-10-05 18:51
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=618987&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Regression fix: The Dig invalid opcodes

Initial Comment:
This fixes a bug which would cause The Dig to crash the
second time an actor spoke a particular line. This
probably accounts for most or all of the recently
introduced "invalid opcode" crashes.

The problem was that o6_talkActor() and o6_talkEgo()
was corrupting the scripts by having strtok() write a 0
into them.

(The exact same code is added both to o6_talkActor()
and o6_talkEgo(), so maybe it'd be more elegant to put
it in translateText() instead...)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=618987&group_id=37116




More information about the Scummvm-tracker mailing list