Commit 66df506c authored by VanillaSalt's avatar VanillaSalt

init tag_player

parent ec176599
......@@ -66,6 +66,8 @@ int ReplayMode::ReplayThread(void* param) {
cur_replay.ReadData(mainGame->dInfo.clientname_tag, 40);
cur_replay.ReadData(mainGame->dInfo.clientname, 40);
mainGame->dInfo.isTag = true;
mainGame->dInfo.tag_player[0] = false;
mainGame->dInfo.tag_player[1] = false;
} else {
cur_replay.ReadData(mainGame->dInfo.hostname, 40);
cur_replay.ReadData(mainGame->dInfo.clientname, 40);
......@@ -205,6 +207,8 @@ void ReplayMode::Restart(bool refresh) {
cur_replay.ReadData(mainGame->dInfo.clientname_tag, 40);
cur_replay.ReadData(mainGame->dInfo.clientname, 40);
mainGame->dInfo.isTag = true;
mainGame->dInfo.tag_player[0] = false;
mainGame->dInfo.tag_player[1] = false;
} else {
cur_replay.ReadData(mainGame->dInfo.hostname, 40);
cur_replay.ReadData(mainGame->dInfo.clientname, 40);
......
Subproject commit 8a34f83647a4f32667e7a35a00109d0c1aaeea68
Subproject commit 27e0668f9071f58638f4ed50cffdf12f33f59c7b
Subproject commit 2f8b6d0b0779b0cc3499e65ee347b6c5a1e4812b
Subproject commit 57337f33ecce0ae02a05a861ca7fe77e2c52bac2
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