Commit 0f75b20e authored by VanillaSalt's avatar VanillaSalt

fix

parent c4208efd
...@@ -554,10 +554,10 @@ int32 field::get_useable_count_fromex(card* pcard, uint8 playerid, uint8 uplayer ...@@ -554,10 +554,10 @@ int32 field::get_useable_count_fromex(card* pcard, uint8 playerid, uint8 uplayer
int32 maxcount = 6; int32 maxcount = 6;
if(player[playerid].list_mzone[5] && is_location_useable(playerid, LOCATION_MZONE, 6) if(player[playerid].list_mzone[5] && is_location_useable(playerid, LOCATION_MZONE, 6)
&& (zone & (1u << 6)) && check_extra_link(playerid, pcard, 6)) { && (zone & (1u << 6)) && check_extra_link(playerid, pcard, 6)) {
flag |= 1u << 6; flag |= 1u << 5;
} else if(player[playerid].list_mzone[6] && is_location_useable(playerid, LOCATION_MZONE, 5) } else if(player[playerid].list_mzone[6] && is_location_useable(playerid, LOCATION_MZONE, 5)
&& (zone & (1u << 5)) && check_extra_link(playerid, pcard, 5)) { && (zone & (1u << 5)) && check_extra_link(playerid, pcard, 5)) {
flag |= 1u << 5; flag |= 1u << 6;
} else if(player[playerid].list_mzone[5] || player[playerid].list_mzone[6] || !(zone & ((1u << 5) | (1u << 6)))) { } else if(player[playerid].list_mzone[5] || player[playerid].list_mzone[6] || !(zone & ((1u << 5) | (1u << 6)))) {
flag |= (1u << 5) | (1u << 6); flag |= (1u << 5) | (1u << 6);
maxcount = 5; maxcount = 5;
......
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