1
0
Fork 0

GetSizeName of cSlime and cMagmaCube is now static

This commit is contained in:
Tristan 2015-05-08 20:50:05 -04:00
parent 9f6192687f
commit 4642a50d62
4 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ void cMagmaCube::GetDrops(cItems & a_Drops, cEntity * a_Killer)
const AString cMagmaCube::GetSizeName(int a_Size) const
AString cMagmaCube::GetSizeName(int a_Size)
{
if (a_Size > 1)
{

View File

@ -22,7 +22,7 @@ public:
/** Returns the text describing the slime's size, as used by the client's resource subsystem for sounds.
Returns either "big" or "small". */
const AString GetSizeName(int a_Size) const;
static AString GetSizeName(int a_Size);
protected:

View File

@ -89,7 +89,7 @@ void cSlime::KilledBy(TakeDamageInfo & a_TDI)
const AString cSlime::GetSizeName(int a_Size) const
AString cSlime::GetSizeName(int a_Size)
{
if (a_Size > 1)
{

View File

@ -27,7 +27,7 @@ public:
/** Returns the text describing the slime's size, as used by the client's resource subsystem for sounds.
Returns either "big" or "small". */
const AString GetSizeName(int a_Size) const;
static AString GetSizeName(int a_Size);
protected: