Commit 3153d569 authored by mercury233's avatar mercury233 Committed by GitHub

fix (#509)

parent 0af934fa
...@@ -6359,7 +6359,7 @@ int32 field::toss_coin(uint16 step, effect * reason_effect, uint8 reason_player, ...@@ -6359,7 +6359,7 @@ int32 field::toss_coin(uint16 step, effect * reason_effect, uint8 reason_player,
} }
} }
if (!core.coin_count) if (!core.coin_count)
core.coin_count == MAX_COIN_COUNT; core.coin_count = MAX_COIN_COUNT;
pduel->write_buffer8(MSG_TOSS_COIN); pduel->write_buffer8(MSG_TOSS_COIN);
pduel->write_buffer8(playerid); pduel->write_buffer8(playerid);
pduel->write_buffer8((uint8)core.coin_count); pduel->write_buffer8((uint8)core.coin_count);
......
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