CBasePlayerWeapon::ExtractAmmo: Fixed reverse-engineering mistake

This commit is contained in:
s1lentq 2024-02-01 16:38:16 +07:00
parent 2489213127
commit f4c4e891ac

View File

@ -1631,7 +1631,7 @@ int CBasePlayerWeapon::ExtractAmmo(CBasePlayerWeapon *pWeapon)
if (pszAmmo2()) if (pszAmmo2())
{ {
res = AddSecondaryAmmo(0, (char *)pszAmmo2(), iMaxAmmo2()); res = pWeapon->AddSecondaryAmmo(0, (char *)pszAmmo2(), iMaxAmmo2());
} }
return res; return res;