Bug#443822: I've found a fix
Roland Clobus
rclobus at bigfoot.com
Sun Dec 16 13:11:52 UTC 2007
Hello,
I have found a fix for the crashes (Most of them happen on complex laser
levels).
By adding traces, I've seen that Wipe() is called with currentStage >=
numStages, which should have been impossible (UpdateCurrent will bring
currentStage back into range).
This fix will bring currentStage back into range after a call to
Reset(double t)
The attached patch is written on the fully patched source code.
Regards,
Roland Clobus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_segfault.patch
Type: text/x-patch
Size: 345 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20071216/071bffde/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20071216/071bffde/attachment.pgp
More information about the Pkg-games-devel
mailing list