summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Slime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Slime.cpp')
-rw-r--r--src/Mobs/Slime.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/Mobs/Slime.cpp b/src/Mobs/Slime.cpp
index 316f68523..dca5c5887 100644
--- a/src/Mobs/Slime.cpp
+++ b/src/Mobs/Slime.cpp
@@ -12,8 +12,8 @@
cSlime::cSlime(int a_Size) :
super("Slime",
mtSlime,
- Printf("mob.slime.%s", GetSizeName(a_Size).c_str()),
- Printf("mob.slime.%s", GetSizeName(a_Size).c_str()),
+ Printf("entity.%sslime.hurt", GetSizeName(a_Size).c_str()),
+ Printf("entity.%sslime.death", GetSizeName(a_Size).c_str()),
0.6 * a_Size,
0.6 * a_Size
),
@@ -93,14 +93,11 @@ void cSlime::KilledBy(TakeDamageInfo & a_TDI)
AString cSlime::GetSizeName(int a_Size)
{
- if (a_Size > 1)
+ if (a_Size == 1)
{
- return "big";
- }
- else
- {
- return "small";
+ return "small_";
}
+ return "";
}