Commit a24d3db3 authored by Chen Bill's avatar Chen Bill

remove memset

parent c4d7ca2d
......@@ -9,13 +9,6 @@ namespace ygo {
SingleDuel::SingleDuel(bool is_match) {
match_mode = is_match;
match_kill = 0;
for(int i = 0; i < 2; ++i) {
players[i] = 0;
ready[i] = false;
}
duel_count = 0;
memset(match_result, 0, 3);
}
SingleDuel::~SingleDuel() {
}
......
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