mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 15:47:43 +00:00
HUD rendering bug fixes
This commit is contained in:
@@ -823,10 +823,10 @@ CEntity* ScriptLoader::LoadSpawnPoint(CStateManager& mgr, CInputStream& in, int
|
||||
zeus::CVector3f rotation;
|
||||
rotation.readBig(in);
|
||||
|
||||
std::vector<u32> itemCounts;
|
||||
itemCounts.reserve(propCount - 6);
|
||||
rstl::reserved_vector<u32, int(CPlayerState::EItemType::Max)> itemCounts;
|
||||
itemCounts.resize(size_t(CPlayerState::EItemType::Max));
|
||||
for (int i = 0; i < propCount - 6; ++i)
|
||||
itemCounts.push_back(in.readUint32Big());
|
||||
itemCounts[i] = in.readUint32Big();
|
||||
|
||||
bool defaultSpawn = in.readBool();
|
||||
bool active = in.readBool();
|
||||
|
||||
Reference in New Issue
Block a user