diff options
author | Tristan <kraig.tri125@gmail.com> | 2015-05-09 02:50:05 +0200 |
---|---|---|
committer | Tristan <kraig.tri125@gmail.com> | 2015-05-09 02:50:05 +0200 |
commit | 4642a50d627e5946079068c8aa19aa1e2b27846e (patch) | |
tree | c006ca760eecdd6ef63c372c88630f12e6290617 /src | |
parent | Big Magma Cube can now spawn (diff) | |
download | cuberite-4642a50d627e5946079068c8aa19aa1e2b27846e.tar cuberite-4642a50d627e5946079068c8aa19aa1e2b27846e.tar.gz cuberite-4642a50d627e5946079068c8aa19aa1e2b27846e.tar.bz2 cuberite-4642a50d627e5946079068c8aa19aa1e2b27846e.tar.lz cuberite-4642a50d627e5946079068c8aa19aa1e2b27846e.tar.xz cuberite-4642a50d627e5946079068c8aa19aa1e2b27846e.tar.zst cuberite-4642a50d627e5946079068c8aa19aa1e2b27846e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/MagmaCube.cpp | 2 | ||||
-rw-r--r-- | src/Mobs/MagmaCube.h | 2 | ||||
-rw-r--r-- | src/Mobs/Slime.cpp | 2 | ||||
-rw-r--r-- | src/Mobs/Slime.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/Mobs/MagmaCube.cpp b/src/Mobs/MagmaCube.cpp index e56cfa4b8..c5dd0def0 100644 --- a/src/Mobs/MagmaCube.cpp +++ b/src/Mobs/MagmaCube.cpp @@ -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) { diff --git a/src/Mobs/MagmaCube.h b/src/Mobs/MagmaCube.h index d4b3997da..b914dc867 100644 --- a/src/Mobs/MagmaCube.h +++ b/src/Mobs/MagmaCube.h @@ -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: diff --git a/src/Mobs/Slime.cpp b/src/Mobs/Slime.cpp index e42501e47..7fc4821d8 100644 --- a/src/Mobs/Slime.cpp +++ b/src/Mobs/Slime.cpp @@ -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) { diff --git a/src/Mobs/Slime.h b/src/Mobs/Slime.h index 29605992d..40131b101 100644 --- a/src/Mobs/Slime.h +++ b/src/Mobs/Slime.h @@ -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: |