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
1 changed files with 1 additions and 1 deletions

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)]++;
}
}