2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-13 15:26:09 +00:00

Fix infinite loop in CObjectList, and add an assert to detect invalid assignments

This commit is contained in:
2020-03-07 09:14:07 -08:00
parent 4daa8ac374
commit f06c26e7d6
6 changed files with 29 additions and 17 deletions

View File

@@ -9,7 +9,7 @@
namespace urde {
class CWeaponMgr {
std::map<TUniqueId, rstl::reserved_vector<s32, 10>> x0_weapons;
std::map<TUniqueId, rstl::reserved_vector<s32, 15>> x0_weapons;
public:
void Add(TUniqueId, EWeaponType);