2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-04 13:15:52 +00:00

CWeaponMgr: Make use of size_t in IncrCount()

Keeps this function consistent with the previous change.
This commit is contained in:
Lioncash 2020-04-07 13:40:12 -04:00
parent 8ba2af9b5a
commit 5405dad069

View File

@ -27,7 +27,7 @@ void CWeaponMgr::IncrCount(TUniqueId uid, EWeaponType type) {
if (GetIndex(uid) < 0) {
Add(uid, type);
} else {
x0_weapons[uid][u32(type)]++;
x0_weapons[uid][size_t(type)]++;
}
}