Commit cdc86e21 authored by mercury233's avatar mercury233 Committed by GitHub

fix draw 0 (#752)

parent e15beaab
......@@ -343,6 +343,10 @@ int32_t field::draw(uint16_t step, effect* reason_effect, uint32_t reason, uint8
returns.ivalue[0] = 0;
return TRUE;
}
if(count == 0) {
returns.ivalue[0] = 0;
return TRUE;
}
core.overdraw[playerid] = FALSE;
for(int32_t i = 0; i < count; ++i) {
if(player[playerid].list_main.empty()) {
......
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