aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-12-28 15:50:10 +0000
committerTorbjörn Andersson2003-12-28 15:50:10 +0000
commit584f76ada6135b145d75247c0092001aac356252 (patch)
tree3d83a073900cc0d0015ec2215f340314f1e9b27f /common
parent67159d453998c3aae395f4fba943111884ea03e7 (diff)
downloadscummvm-rg350-584f76ada6135b145d75247c0092001aac356252.tar.gz
scummvm-rg350-584f76ada6135b145d75247c0092001aac356252.tar.bz2
scummvm-rg350-584f76ada6135b145d75247c0092001aac356252.zip
This could be wrong so feel free to revert, but it does seem to fix crashes
in the Mine Road sequence of Full Throttle for me. The crashes were always in proc64(), with 'en' being some ridiculously large value. The function, as it was written, did not make any sense to me so I rewrote it with the assumption that it's there to remove the "en"th element of the _val216d[] (remaining enemies?) array. I don't know how well it will work from proc63() if there's more than one element to remove - at least if the elements to remove are neighbours - but maybe that case never happens. svn-id: r11999
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions