mp/src/game/shared/sdk/weapon_akimbobase.cpp
int CAkimboBase::GetWeight() const
{
	SDKWeaponID eSingleID = AliasToWeaponID(GetSDKWpnData().m_szSingle);

	CSDKWeaponInfo* pSingleInfo = CSDKWeaponInfo::GetWeaponInfo(eSingleID);

	Assert(pSingleInfo);
	if (!pSingleInfo)
		return BaseClass::GetWeight();

	return pSingleInfo->iWeight;
}
// For weight purposes an akimbo weighs the same as a single.
// This is so that the second entity in the player's inventory just adds another single's worth of weight.
For weight purposes an akimbo weighs the same as a single.
This is so that the second entity in the player's inventory just adds another single's worth of weight.
For weight purposes an akimbo weighs the same as a single . This is so that the second entity in the player ' s inventory just adds another single ' s worth of weight .
int CAkimboBase::GetWeight() const
{
	SDKWeaponID eSingleID = AliasToWeaponID(GetSDKWpnData().m_szSingle);
	CSDKWeaponInfo* pSingleInfo = CSDKWeaponInfo::GetWeaponInfo(eSingleID);
	Assert(pSingleInfo);
	if (!pSingleInfo)
		return BaseClass::GetWeight();
	return pSingleInfo->iWeight;
}
int CAkimboBase :: GetWeight ( ) const { SDKWeaponID eSingleID = AliasToWeaponID ( GetSDKWpnData ( ) . m_szSingle ) ; CSDKWeaponInfo * pSingleInfo = CSDKWeaponInfo :: GetWeaponInfo ( eSingleID ) ; Assert ( pSingleInfo ) ; if ( ! pSingleInfo ) return BaseClass :: GetWeight ( ) ; return pSingleInfo -> iWeight ; }
For weight purposes an akimbo weighs the same as a single.
For weight purposes an akimbo weighs the same as a single .