Commit dde1ac7a authored by VanillaSalt's avatar VanillaSalt

clear

parent 4770a4fb
...@@ -3312,6 +3312,9 @@ void DuelClient::SendResponse() { ...@@ -3312,6 +3312,9 @@ void DuelClient::SendResponse() {
break; break;
} }
case MSG_SELECT_SUM: { case MSG_SELECT_SUM: {
for(int i = 0; i < mainGame->dField.must_select_count; ++i) {
mainGame->dField.selected_cards[i]->is_selected = false;
}
for(size_t i = 0; i < mainGame->dField.selectsum_all.size(); ++i) { for(size_t i = 0; i < mainGame->dField.selectsum_all.size(); ++i) {
mainGame->dField.selectsum_all[i]->is_selectable = false; mainGame->dField.selectsum_all[i]->is_selectable = false;
mainGame->dField.selectsum_all[i]->is_selected = false; mainGame->dField.selectsum_all[i]->is_selected = 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