Commit 8b19193c authored by mercury233's avatar mercury233 Committed by GitHub

fix Duel.ReturnToField clear relate effect (#586)

parent 73f77238
......@@ -4646,9 +4646,9 @@ int32 field::move_to_field(uint16 step, card* target, uint32 enable, uint32 ret,
target->reset(resetflag, RESET_EVENT);
target->clear_card_target();
}
if(!(target->current.location & LOCATION_ONFIELD))
target->clear_relate_effect();
}
if(!(target->current.location & LOCATION_ONFIELD))
target->clear_relate_effect();
if(ret == 1)
target->current.reason &= ~REASON_TEMPORARY;
if(ret == 0 && location != target->current.location
......
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