AmmoManager: Add function comments.

I just assumed the GetMaxReserve1, cause i cant find the
offsets/function information on any of the vtables. /tableflip
This commit is contained in:
zaCade 2018-07-28 17:11:57 +02:00
parent 2e0556a0d1
commit 41dc3ba6f8

View File

@ -32,7 +32,7 @@ public void OnPluginStart()
return;
}
//
// CBaseCombatWeapon::GetMaxClip1() const
int iMaxClipOffset;
if ((iMaxClipOffset = GameConfGetOffset(hGameConf, "GetMaxClip")) == -1)
{
@ -48,7 +48,7 @@ public void OnPluginStart()
return;
}
//
// CBaseCombatWeapon::GetMaxReserve1() const
if (GetEngineVersion() == Engine_CSGO)
{
int iMaxReserveOffset;