diff options
author | Mattes D <github@xoft.cz> | 2020-04-13 18:38:06 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2020-04-16 22:07:48 +0200 |
commit | 9ee47e59995f858ec531b3ee467f131594e4ba1f (patch) | |
tree | f005d8af4a0362d7eab8a96a71aca0d73275f8e1 /src/Mobs/Slime.cpp | |
parent | Prevent crash when breeding (diff) | |
download | cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar.gz cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar.bz2 cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar.lz cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar.xz cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar.zst cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.zip |
Diffstat (limited to 'src/Mobs/Slime.cpp')
-rw-r--r-- | src/Mobs/Slime.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Mobs/Slime.cpp b/src/Mobs/Slime.cpp index 7bb43a54a..00cf30d13 100644 --- a/src/Mobs/Slime.cpp +++ b/src/Mobs/Slime.cpp @@ -10,7 +10,7 @@ cSlime::cSlime(int a_Size) : - super("Slime", + Super("Slime", mtSlime, Printf("entity.%sslime.hurt", GetSizeName(a_Size).c_str()), Printf("entity.%sslime.death", GetSizeName(a_Size).c_str()), @@ -52,7 +52,7 @@ bool cSlime::Attack(std::chrono::milliseconds a_Dt) if (m_Size > 1) { // Only slimes larger than size 1 attack a player. - return super::Attack(a_Dt); + return Super::Attack(a_Dt); } return false; @@ -85,7 +85,7 @@ void cSlime::KilledBy(TakeDamageInfo & a_TDI) m_World->SpawnMobFinalize(std::move(NewSlime)); } } - super::KilledBy(a_TDI); + Super::KilledBy(a_TDI); } |