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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mobs/Slime.cpp b/src/Mobs/Slime.cpp
index 4b123df12..b709ec664 100644
--- a/src/Mobs/Slime.cpp
+++ b/src/Mobs/Slime.cpp
@@ -48,9 +48,9 @@ void cSlime::GetDrops(cItems & a_Drops, cEntity * a_Killer)
void cSlime::Attack(float a_Dt)
{
- if (m_Size != 1)
+ if (m_Size > 1)
{
- // Only slimes with the size 2 and 3 attacks a player.
+ // Only slimes larger than size 1 attack a player.
super::Attack(a_Dt);
}
}