GetSizeName of cSlime and cMagmaCube is now static
This commit is contained in:
parent
9f6192687f
commit
4642a50d62
@ -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)
|
||||
{
|
||||
|
@ -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:
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user