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:
parent
2e0556a0d1
commit
41dc3ba6f8
@ -32,7 +32,7 @@ public void OnPluginStart()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
// CBaseCombatWeapon::GetMaxClip1() const
|
||||||
int iMaxClipOffset;
|
int iMaxClipOffset;
|
||||||
if ((iMaxClipOffset = GameConfGetOffset(hGameConf, "GetMaxClip")) == -1)
|
if ((iMaxClipOffset = GameConfGetOffset(hGameConf, "GetMaxClip")) == -1)
|
||||||
{
|
{
|
||||||
@ -48,7 +48,7 @@ public void OnPluginStart()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
// CBaseCombatWeapon::GetMaxReserve1() const
|
||||||
if (GetEngineVersion() == Engine_CSGO)
|
if (GetEngineVersion() == Engine_CSGO)
|
||||||
{
|
{
|
||||||
int iMaxReserveOffset;
|
int iMaxReserveOffset;
|
||||||
|
Loading…
Reference in New Issue
Block a user