#9176 closed patch
BRA: don't corrupt flags when re-entering location
Reported by: | fuzzie | Owned by: | peres |
---|---|---|---|
Priority: | normal | Component: | Engine: Parallaction |
Version: | Keywords: | ||
Cc: | Game: |
Description
The zone/animation indexes used for restoring flags were out-of-sync with those used for saving, because _zoneProg wasn't incremented when the parser skips zones/anims after the first load.
Ticket imported from: #3004008. Ticket imported from: patches/1281.
Attachments (1)
Change History (7)
by , 14 years ago
Attachment: | 0001-increment-zone-animation-indexes-even-if-we-re-skipp.patch added |
---|
comment:1 by , 14 years ago
Owner: | set to |
---|
comment:2 by , 14 years ago
comment:3 by , 14 years ago
Sorry, I'll try to do that. For clarity: this is a BRA-targeted fix because the _index for zones is BRA-specific, but as you say, _zoneProg is also used to set _prog, which is used for sort order on Gfx objects, so this affects NS.
I'm not familiar enough with NS to test it myself, but I believe the only possible effect would be on preserved anims/zones, which seem to only be special (non-drawn) zones in NS, so I hope there are no regressions.
comment:4 by , 14 years ago
Status: | new → closed |
---|
comment:6 by , 6 years ago
Component: | → Engine: Parallaction |
---|
Your change looks right, but please make always clear which game/version you are working on.
Since your patch also impact NS, I am going to test if there are any regressions before commit.