summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-04-18 21:20:00 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-04-18 21:20:00 +0200
commit19358fc7d5cfde19d47a910adbf8a1d67dd48f5f (patch)
treee698c1a606ff33b649c509c0b92e9a4264d91543 /src/Mobs
parentMerge branch 'master' of https://github.com/mc-server/MCServer (diff)
downloadcuberite-19358fc7d5cfde19d47a910adbf8a1d67dd48f5f.tar
cuberite-19358fc7d5cfde19d47a910adbf8a1d67dd48f5f.tar.gz
cuberite-19358fc7d5cfde19d47a910adbf8a1d67dd48f5f.tar.bz2
cuberite-19358fc7d5cfde19d47a910adbf8a1d67dd48f5f.tar.lz
cuberite-19358fc7d5cfde19d47a910adbf8a1d67dd48f5f.tar.xz
cuberite-19358fc7d5cfde19d47a910adbf8a1d67dd48f5f.tar.zst
cuberite-19358fc7d5cfde19d47a910adbf8a1d67dd48f5f.zip
Diffstat (limited to 'src/Mobs')
-rw-r--r--src/Mobs/Monster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp
index 9df5d5e3b..248e88f5d 100644
--- a/src/Mobs/Monster.cpp
+++ b/src/Mobs/Monster.cpp
@@ -540,7 +540,7 @@ void cMonster::KilledBy(cEntity * a_Killer)
break;
}
}
- if ((a_Killer != NULL) && (!IsBaby())
+ if ((a_Killer != NULL) && (!IsBaby()))
{
m_World->SpawnExperienceOrb(GetPosX(), GetPosY(), GetPosZ(), Reward);
}