Commit ad736b59 authored by AndreOliveiraMendes's avatar AndreOliveiraMendes Committed by nanahira

small adjust to redirect (#170)

was missing a case
parent 284b7612
......@@ -2198,6 +2198,8 @@ int32 card::destination_redirect(uint8 destination, uint32 reason) {
return redirect;
if((redirect & LOCATION_REMOVED) && !is_affected_by_effect(EFFECT_CANNOT_REMOVE) && pduel->game_field->is_player_can_remove(current.controler, this))
return redirect;
if((redirect & LOCATION_GRAVE) && !is_affected_by_effect(EFFECT_CANNOT_TO_GRAVE) && pduel->game_field->is_player_can_send_to_grave(es[i]->get_handler_player(), this))
return redirect;
}
return 0;
}
......
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