Opened 14 years ago

Closed 14 years ago

Last modified 5 years ago

#9193 closed patch

BRA: don't crash on STOP for non-existent zone

Reported by: fuzzie Owned by: peres
Priority: normal Component: Engine: Parallaction
Version: Keywords:
Cc: Game:


The part2 insegui script of BRA has "STOP insegui", but the animation zone for that script is "inseguilo". This patch just ignores STOP if the zone doesn't exist, not sure if that's the correct fix - but it avoids the crash, at least. Patch applies against trunk.

Ticket imported from: #3021744. Ticket imported from: patches/1298.

Attachments (1)

0001-don-t-crash-on-STOP-for-non-existent-zone.txt (890 bytes ) - added by fuzzie 14 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by fuzzie, 14 years ago

Owner: set to peres

comment:2 by peres, 14 years ago

Status: newclosed

comment:3 by peres, 14 years ago

This is obviously a script bug: the original code would likely crash when loading the script, because of the missing animation.

I would like to fix the zone name from "insegui" to "inseguilo" when parsing, but then the script would interrupt itself before the end (thus not executing the final "process gate" command).

The situation is ugly, and so the patch is adequate. Committed in r50363.

comment:4 by digitall, 5 years ago

Component: Engine: Parallaction
Note: See TracTickets for help on using tickets.