diff --git a/server/gameserver/mt/PveGeminiMode.cc b/server/gameserver/mt/PveGeminiMode.cc index 0384224a..189c4e4a 100644 --- a/server/gameserver/mt/PveGeminiMode.cc +++ b/server/gameserver/mt/PveGeminiMode.cc @@ -67,40 +67,7 @@ namespace mt abort(); } } - #if 0 - { - std::vector strings; - a8::Split(round_score(), strings, '|'); - for (std::string& str : strings) { - _round_score.push_back(a8::XValue(str).GetInt()); - } - if (_round_score.size() != _waves.size()) { - abort(); - } - } - { - if (id() == kDestoryMode) { - std::vector strings; - a8::Split(next_door(), strings, '|'); - for (auto& str : strings) { - std::vector strings2; - a8::Split(str, strings2, ':'); - if (strings2.size() < 2) { - abort(); - } - glm::vec3 v; - v.x = a8::XValue(strings2[0]).GetDouble(); - v.y = 0.0f; - v.y = a8::XValue(strings2[1]).GetDouble(); - _next_door.push_back(v); - } - if (_next_door.size() + 1 != _waves.size()) { - abort(); - } - } - } - #endif - } +. } int PveGeminiMode::CalcStar(int score) const {