Commit 6ac949a8 authored by sbl1996@126.com's avatar sbl1996@126.com

Comment force action in multi_select

parent 308d2f2f
...@@ -3865,14 +3865,14 @@ private: ...@@ -3865,14 +3865,14 @@ private:
} }
// TODO: use this when added to history actions // TODO: use this when added to history actions
if ((min == max) && (max == specs.size())) { // if ((min == max) && (max == specs.size())) {
resp_buf_[0] = specs.size(); // resp_buf_[0] = specs.size();
for (int i = 0; i < specs.size(); ++i) { // for (int i = 0; i < specs.size(); ++i) {
resp_buf_[i + 1] = i; // resp_buf_[i + 1] = i;
} // }
YGO_SetResponseb(pduel_, resp_buf_); // YGO_SetResponseb(pduel_, resp_buf_);
return; // return;
} // }
init_multi_select(min, max, 0, specs); init_multi_select(min, max, 0, specs);
...@@ -3946,15 +3946,15 @@ private: ...@@ -3946,15 +3946,15 @@ private:
} }
// TODO: use this when added to history actions // TODO: use this when added to history actions
if (max == specs.size()) { // if (max == specs.size()) {
// tribute all // // tribute all
resp_buf_[0] = specs.size(); // resp_buf_[0] = specs.size();
for (int i = 0; i < specs.size(); ++i) { // for (int i = 0; i < specs.size(); ++i) {
resp_buf_[i + 1] = i; // resp_buf_[i + 1] = i;
} // }
YGO_SetResponseb(pduel_, resp_buf_); // YGO_SetResponseb(pduel_, resp_buf_);
return; // return;
} // }
init_multi_select(min, max, 0, specs); init_multi_select(min, max, 0, specs);
......
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