Commit 8ec6d24f authored by salix5's avatar salix5

core.subunits.rbegin()

since add_process() uses push_back()
parent 567b9ad6
This diff is collapsed.
...@@ -545,7 +545,7 @@ int32 field::select_counter(uint16 step, uint8 playerid, uint16 countertype, uin ...@@ -545,7 +545,7 @@ int32 field::select_counter(uint16 step, uint8 playerid, uint16 countertype, uin
} else { } else {
uint16 ct = 0; uint16 ct = 0;
for(uint32 i = 0; i < core.select_cards.size(); ++i) { for(uint32 i = 0; i < core.select_cards.size(); ++i) {
if(core.select_cards[i]->get_counter(countertype) < (uint32)returns.bvalue[i]) { if(core.select_cards[i]->get_counter(countertype) < returns.bvalue[i]) {
pduel->write_buffer8(MSG_RETRY); pduel->write_buffer8(MSG_RETRY);
return FALSE; return FALSE;
} }
......
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