mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:47:42 +00:00
zeus constexpr refactor and thermal visor fixes
This commit is contained in:
@@ -12,7 +12,7 @@ CScriptSpawnPoint::CScriptSpawnPoint(TUniqueId uid, std::string_view name, const
|
||||
const rstl::reserved_vector<u32, int(CPlayerState::EItemType::Max)>& itemCounts,
|
||||
bool defaultSpawn, bool active, bool morphed)
|
||||
: CEntity(uid, info, active, name), x34_xf(xf), x64_itemCounts(itemCounts) {
|
||||
#ifndef NDEBUG
|
||||
//#ifndef NDEBUG
|
||||
x64_itemCounts[int(CPlayerState::EItemType::MorphBall)] = 1;
|
||||
x64_itemCounts[int(CPlayerState::EItemType::MorphBallBombs)] = 1;
|
||||
x64_itemCounts[int(CPlayerState::EItemType::GravitySuit)] = 1;
|
||||
@@ -22,7 +22,10 @@ CScriptSpawnPoint::CScriptSpawnPoint(TUniqueId uid, std::string_view name, const
|
||||
x64_itemCounts[int(CPlayerState::EItemType::BoostBall)] = 1;
|
||||
x64_itemCounts[int(CPlayerState::EItemType::ChargeBeam)] = 1;
|
||||
x64_itemCounts[int(CPlayerState::EItemType::PowerBombs)] = 8;
|
||||
#endif
|
||||
x64_itemCounts[int(CPlayerState::EItemType::SpaceJumpBoots)] = 1;
|
||||
x64_itemCounts[int(CPlayerState::EItemType::Missiles)] =
|
||||
std::max(x64_itemCounts[int(CPlayerState::EItemType::Missiles)], u32(5));
|
||||
//#endif
|
||||
x10c_24_firstSpawn = defaultSpawn;
|
||||
x10c_25_morphed = morphed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user