1
This commit is contained in:
parent
4521afd977
commit
f8027e3d97
@ -1717,7 +1717,7 @@ namespace MetaData
|
|||||||
{
|
{
|
||||||
if (pb->id() == kDestoryMode) {
|
if (pb->id() == kDestoryMode) {
|
||||||
std::vector<std::string> strings;
|
std::vector<std::string> strings;
|
||||||
a8::Split(pb->score_reward(), strings, '|');
|
a8::Split(pb->next_door(), strings, '|');
|
||||||
for (auto& str : strings) {
|
for (auto& str : strings) {
|
||||||
std::vector<std::string> strings2;
|
std::vector<std::string> strings2;
|
||||||
a8::Split(str, strings2, ':');
|
a8::Split(str, strings2, ':');
|
||||||
@ -1729,7 +1729,7 @@ namespace MetaData
|
|||||||
v.y = a8::XValue(strings2[1]).GetDouble();
|
v.y = a8::XValue(strings2[1]).GetDouble();
|
||||||
next_door.push_back(v);
|
next_door.push_back(v);
|
||||||
}
|
}
|
||||||
if (next_door.size() != waves.size()) {
|
if (next_door.size() + 1 != waves.size()) {
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user