SaveActor::status vector handled incorrectly #670

Ghabry opened this Issue Dec 12, 2015 · 0 comments


None yet

1 participant

Ghabry commented Dec 12, 2015

Cherry pointed out weeks ago that the way we implement the status data structure is wrong.

Our status struct contains the id of the status the actor has, e.g. [1, 3].

Actually the struct contains all statusses with [0,0 .... 0] and when one of the states is set the value is 1 + the number of battle turns (for status that auto heals).

@Ghabry Ghabry added the Savegames label Dec 12, 2015
@Ghabry Ghabry modified the milestone: 0.4, 0.4.1 Dec 14, 2015
@fdelapena fdelapena pushed a commit that closed this issue Feb 28, 2016
@Ghabry Ghabry Handle states array as RPG_RT does. This breaks old savegames: When a…
…n actor has states he will die instead. (Fix #670)
@fdelapena fdelapena closed this in 24b04e8 Feb 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment