Commit 959cbe91 authored by edo9300's avatar edo9300 Committed by GitHub

redoundant check

parent 3b33beda
......@@ -2189,8 +2189,6 @@ int32 card::is_can_add_counter(uint8 playerid, uint16 countertype, uint16 count,
if((countertype & COUNTER_NEED_ENABLE) && is_status(STATUS_DISABLED))
return FALSE;
filter_effect(EFFECT_COUNTER_PERMIT + (countertype & 0xffff), &eset);
if (eset.size() < 1 && !(countertype & COUNTER_WITHOUT_PERMIT))
return FALSE;
bool check = false;
for(int32 i = 0; i < eset.size(); ++i){
uint32 prange = eset[i]->get_value();
......
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