summaryrefslogtreecommitdiffstats
path: root/src/Entities/EntityEffect.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-15 11:24:48 +0200
committermadmaxoft <github@xoft.cz>2014-07-15 11:24:48 +0200
commitf5259d765147cecb44a40ce5308387aba60cef8f (patch)
tree55bd34a460f376a04df82e7508e7fd70300fa221 /src/Entities/EntityEffect.cpp
parentReformatted EntityEffect code. (diff)
downloadcuberite-f5259d765147cecb44a40ce5308387aba60cef8f.tar
cuberite-f5259d765147cecb44a40ce5308387aba60cef8f.tar.gz
cuberite-f5259d765147cecb44a40ce5308387aba60cef8f.tar.bz2
cuberite-f5259d765147cecb44a40ce5308387aba60cef8f.tar.lz
cuberite-f5259d765147cecb44a40ce5308387aba60cef8f.tar.xz
cuberite-f5259d765147cecb44a40ce5308387aba60cef8f.tar.zst
cuberite-f5259d765147cecb44a40ce5308387aba60cef8f.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/EntityEffect.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Entities/EntityEffect.cpp b/src/Entities/EntityEffect.cpp
index 761a4d651..4da7cac85 100644
--- a/src/Entities/EntityEffect.cpp
+++ b/src/Entities/EntityEffect.cpp
@@ -223,7 +223,8 @@ void cEntityEffectPoison::OnTick(cPawn & a_Target)
cMonster & Target = (cMonster &) a_Target;
// Doesn't effect undead mobs, spiders
- if (Target.IsUndead() ||
+ if (
+ Target.IsUndead() ||
(Target.GetMobType() == cMonster::mtSpider) ||
(Target.GetMobType() == cMonster::mtCaveSpider)
)