Skip to content
This repository has been archived by the owner on Apr 6, 2018. It is now read-only.

Commit

Permalink
updc
Browse files Browse the repository at this point in the history
  • Loading branch information
Smile-DK committed Nov 25, 2017
1 parent 8c4ef56 commit 7824d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocgcore/operations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3128,7 +3128,6 @@ int32 field::destroy(uint16 step, group * targets, effect * reason_effect, uint3
pduel->lua->add_param(pcard->current.reason, PARAM_TYPE_INT);
pduel->lua->add_param(pcard->current.reason_player, PARAM_TYPE_INT);
if(eset[i]->check_value_condition(3)) {
eset[i]->dec_count();
indestructable_effect_set.insert(eset[i]);
is_destructable = false;
}
Expand Down Expand Up @@ -3194,6 +3193,7 @@ int32 field::destroy(uint16 step, group * targets, effect * reason_effect, uint3
}
}
for (auto eit = indestructable_effect_set.begin(); eit != indestructable_effect_set.end(); ++eit) {
(*eit)->dec_count();
pduel->write_buffer8(MSG_HINT);
pduel->write_buffer8(HINT_CARD);
pduel->write_buffer8(0);
Expand Down

0 comments on commit 7824d5c

Please sign in to comment.