Commit 3a14112d authored by xiaoye's avatar xiaoye

Update operations.cpp

parent 7a9fd22d
......@@ -4565,9 +4565,9 @@ int32 field::move_to_field(uint16 step, card* target, uint32 enable, uint32 ret,
}
} else if(pzone && location == LOCATION_SZONE && (target->data.type & TYPE_PENDULUM)) {
uint32 flag = 0;
if(is_location_useable(playerid, LOCATION_PZONE, 0))
if (is_location_useable(playerid, LOCATION_PZONE, 0) && zone & 0x1)
flag |= 0x1u << (core.duel_rule >= NEW_MASTER_RULE ? 8 : 14);
if(is_location_useable(playerid, LOCATION_PZONE, 1))
if (is_location_useable(playerid, LOCATION_PZONE, 1) && zone & 0x2)
flag |= 0x1u << (core.duel_rule >= NEW_MASTER_RULE ? 12 : 15);
if(!flag) {
core.units.begin()->step = 3;
......
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