Remove extraneous getter

Not used.
This commit is contained in:
Kawe Mazidjatari 2023-08-31 00:19:11 +02:00
parent 027c7ad11e
commit 45bbf1f14b

View File

@ -120,7 +120,6 @@ public:
FORCEINLINE bool GetBool(void) const;
FORCEINLINE float GetFloat(void) const;
FORCEINLINE double GetDouble(void) const;
FORCEINLINE int GetInt(void) const;
FORCEINLINE Color GetColor(void) const;
FORCEINLINE const char* GetString(void) const;
@ -200,15 +199,6 @@ FORCEINLINE float ConVar::GetFloat(void) const
return m_pParent->m_Value.m_fValue;
}
//-----------------------------------------------------------------------------
// Purpose: Return ConVar value as a double.
// Output : double
//-----------------------------------------------------------------------------
FORCEINLINE double ConVar::GetDouble(void) const
{
return static_cast<double>(m_pParent->m_Value.m_fValue);
}
//-----------------------------------------------------------------------------
// Purpose: Return ConVar value as an integer.
// Output : int