Commit 72d3f2ce authored by nanahira's avatar nanahira
parents c06fbb93 37faac25
...@@ -597,6 +597,7 @@ void effect::dec_count(uint32 playerid) { ...@@ -597,6 +597,7 @@ void effect::dec_count(uint32 playerid) {
return; return;
if(count_limit == 0) if(count_limit == 0)
return; return;
if(count_code == 0 || is_flag(EFFECT_FLAG_NO_TURN_RESET))
count_limit -= 1; count_limit -= 1;
if(count_code) { if(count_code) {
uint32 code = count_code & 0xfffffff; uint32 code = count_code & 0xfffffff;
......
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