Commit 2ea97948 authored by Chen Bill's avatar Chen Bill Committed by GitHub

fix std container erase (#527)

parent 7188b8bc
...@@ -3726,6 +3726,7 @@ int32 field::destroy(uint16 step, group * targets, effect * reason_effect, uint3 ...@@ -3726,6 +3726,7 @@ int32 field::destroy(uint16 step, group * targets, effect * reason_effect, uint3
pcard->current.reason_player = pcard->temp.reason_player; pcard->current.reason_player = pcard->temp.reason_player;
core.destroy_canceled.insert(pcard); core.destroy_canceled.insert(pcard);
cit = targets->container.erase(cit); cit = targets->container.erase(cit);
continue;
} }
} }
++cit; ++cit;
......
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