#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: |
Description
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)
Change History (5)
by , 14 years ago
Attachment: | 0001-don-t-crash-on-STOP-for-non-existent-zone.txt added |
---|
comment:1 by , 14 years ago
Owner: | set to |
---|
comment:2 by , 14 years ago
Status: | new → closed |
---|
comment:3 by , 14 years ago
comment:4 by , 6 years ago
Component: | → Engine: Parallaction |
---|
Note:
See TracTickets
for help on using tickets.
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.