1
This commit is contained in:
parent
0922f7e846
commit
8a3e8dfb95
@ -1674,20 +1674,16 @@ namespace MetaData
|
||||
std::vector<std::string> strings;
|
||||
a8::Split(pb->area(), strings, '|');
|
||||
for (auto& str : strings) {
|
||||
std::vector<std::string> strings2;
|
||||
a8::Split(str, strings2, ':');
|
||||
if (strings2.size() != 3) {
|
||||
MetaData::SafeArea* p = MetaMgr::Instance()->GetSafeArea(a8::XValue(str));
|
||||
if (!p) {
|
||||
abort();
|
||||
}
|
||||
area.push_back(std::make_tuple
|
||||
(
|
||||
(float)a8::XValue(strings2[0]).GetDouble(),
|
||||
(float)a8::XValue(strings2[1]).GetDouble(),
|
||||
(int)a8::XValue(strings2[2]).GetInt()
|
||||
)
|
||||
);
|
||||
area.push_back(p);
|
||||
}
|
||||
}
|
||||
if (area.empty()) {
|
||||
abort();
|
||||
}
|
||||
waves.resize(mode_time.size());
|
||||
for (auto& content : *MetaMgr::Instance()->GetPveGeminiContents(pb->id())) {
|
||||
if (content.pb->round() <= 0 ||
|
||||
|
@ -412,7 +412,7 @@ namespace MetaData
|
||||
{
|
||||
const metatable::PveGeminiMode* pb = nullptr;
|
||||
std::vector<int> mode_time;
|
||||
std::vector<std::tuple<float, float, int>> area;
|
||||
std::vector<MetaData::SafeArea*> area;
|
||||
std::vector<std::vector<PveGeminiContent*>> waves;
|
||||
|
||||
void Init();
|
||||
|
@ -1302,6 +1302,9 @@ void Room::UpdateGasInactivePve()
|
||||
NotifyUiUpdate();
|
||||
ClearPostBattleAutoFreeList();
|
||||
OnBattleStart();
|
||||
if (IsSurvivalRoom()) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
void Room::UpdateGasWaiting()
|
||||
|
Loading…
x
Reference in New Issue
Block a user