Commit ce9439c2 authored by Chen Bill's avatar Chen Bill

fix

parent 5b727dd0
...@@ -231,7 +231,7 @@ bool Replay::ReadInfo() { ...@@ -231,7 +231,7 @@ bool Replay::ReadInfo() {
return false; return false;
players.push_back(name); players.push_back(name);
} }
if (!ReadData(&params, sizeof DuelParameters)) if (!ReadData(&params, sizeof params))
return false; return false;
bool is_tag1 = pheader.flag & REPLAY_TAG; bool is_tag1 = pheader.flag & REPLAY_TAG;
bool is_tag2 = params.duel_flag & DUEL_TAG_MODE; bool is_tag2 = params.duel_flag & DUEL_TAG_MODE;
......
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