Commit ddf4428f authored by VanillaSalt's avatar VanillaSalt

fix fieldid_r

parent 7eba9c3e
...@@ -3419,6 +3419,7 @@ int32 field::send_to(uint16 step, group * targets, effect * reason_effect, uint3 ...@@ -3419,6 +3419,7 @@ int32 field::send_to(uint16 step, group * targets, effect * reason_effect, uint3
pcard->previous.position = pcard->current.position; pcard->previous.position = pcard->current.position;
pcard->current.reason &= ~REASON_TEMPORARY; pcard->current.reason &= ~REASON_TEMPORARY;
pcard->fieldid = infos.field_id++; pcard->fieldid = infos.field_id++;
pcard->fieldid_r = pcard->fieldid;
pcard->reset(RESET_LEAVE, RESET_EVENT); pcard->reset(RESET_LEAVE, RESET_EVENT);
pcard->clear_relate_effect(); pcard->clear_relate_effect();
remove_card(pcard); remove_card(pcard);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment