1
0

Fixed slime-related comments.

This commit is contained in:
madmaxoft
2014-07-18 23:20:42 +02:00
parent 509d3d3b62
commit 19d012c96e
3 changed files with 10 additions and 5 deletions

View File

@@ -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);
}
}