Commit 10b62ad9 authored by VanillaSalt's avatar VanillaSalt

fix

parent fdbe35a2
......@@ -348,7 +348,7 @@ int32 field::process() {
return pduel->bufferlen;
}
case PROCESSOR_SUMMON_RULE: {
if (summon(it->step, it->arg1, (card*)it->ptarget, it->peffect, (it->arg1 >> 8) & 0xff, (it->arg1 >> 16) & 0xff))
if (summon(it->step, it->arg1 & 0xff, (card*)it->ptarget, it->peffect, (it->arg1 >> 8) & 0xff, (it->arg1 >> 16) & 0xff))
core.units.pop_front();
else
it->step++;
......@@ -376,7 +376,7 @@ int32 field::process() {
return pduel->bufferlen;
}
case PROCESSOR_MSET: {
if (mset(it->step, it->arg1, (card*)(it->ptarget), it->peffect, (it->arg1 >> 8) & 0xff, (it->arg1 >> 16) & 0xff))
if (mset(it->step, it->arg1 & 0xff, (card*)it->ptarget, it->peffect, (it->arg1 >> 8) & 0xff, (it->arg1 >> 16) & 0xff))
core.units.pop_front();
else
it->step++;
......
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