mirror of https://github.com/AxioDL/metaforce.git
CWeaponMgr: Make use of size_t in IncrCount()
Keeps this function consistent with the previous change.
This commit is contained in:
parent
8ba2af9b5a
commit
5405dad069
|
@ -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)]++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue