This commit is contained in:
aozhiwei 2023-05-30 19:30:38 +08:00
parent c7e1a4456f
commit 79298794b4

View File

@ -3299,7 +3299,10 @@ void Room::ForwardGasRing(int n)
if (gas_data_.new_area_meta) { if (gas_data_.new_area_meta) {
auto boss_tuple = gas_data_.new_area_meta->GetBoss(); auto boss_tuple = gas_data_.new_area_meta->GetBoss();
if (boss_tuple && !IsGameOver()) { if (boss_tuple && !IsGameOver()) {
const mt::Hero* hero_meta = mt::Hero::GetById(std::get<2>(*boss_tuple));
if (hero_meta) {
int hero_uniid = AllocUniid();
}
} }
} }
} }