summaryrefslogtreecommitdiffstats
path: root/src/Mobs/MagmaCube.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/MagmaCube.h')
-rw-r--r--src/Mobs/MagmaCube.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Mobs/MagmaCube.h b/src/Mobs/MagmaCube.h
index d66ea423a..62dd83944 100644
--- a/src/Mobs/MagmaCube.h
+++ b/src/Mobs/MagmaCube.h
@@ -19,6 +19,10 @@ public:
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
int GetSize(void) const { return m_Size; }
+
+ /** 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;
protected: