mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 07:05:38 +03:00
CBasePlayerWeapon::ExtractAmmo: Fixed reverse-engineering mistake
This commit is contained in:
parent
2489213127
commit
f4c4e891ac
@ -1631,7 +1631,7 @@ int CBasePlayerWeapon::ExtractAmmo(CBasePlayerWeapon *pWeapon)
|
||||
|
||||
if (pszAmmo2())
|
||||
{
|
||||
res = AddSecondaryAmmo(0, (char *)pszAmmo2(), iMaxAmmo2());
|
||||
res = pWeapon->AddSecondaryAmmo(0, (char *)pszAmmo2(), iMaxAmmo2());
|
||||
}
|
||||
|
||||
return res;
|
||||
|
Loading…
Reference in New Issue
Block a user