summaryrefslogtreecommitdiffstats
path: root/src/Mobs/CaveSpider.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-13 11:41:43 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:39:22 +0200
commit9e8361976b6b0dc4c62ef48a4744ba1f59fe4346 (patch)
treef474d56be32cc0d830b95f0d1283d8b1ee43b212 /src/Mobs/CaveSpider.cpp
parentChanged the AddEntityEffect() params for easier calls. (diff)
downloadcuberite-9e8361976b6b0dc4c62ef48a4744ba1f59fe4346.tar
cuberite-9e8361976b6b0dc4c62ef48a4744ba1f59fe4346.tar.gz
cuberite-9e8361976b6b0dc4c62ef48a4744ba1f59fe4346.tar.bz2
cuberite-9e8361976b6b0dc4c62ef48a4744ba1f59fe4346.tar.lz
cuberite-9e8361976b6b0dc4c62ef48a4744ba1f59fe4346.tar.xz
cuberite-9e8361976b6b0dc4c62ef48a4744ba1f59fe4346.tar.zst
cuberite-9e8361976b6b0dc4c62ef48a4744ba1f59fe4346.zip
Diffstat (limited to 'src/Mobs/CaveSpider.cpp')
-rw-r--r--src/Mobs/CaveSpider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/CaveSpider.cpp b/src/Mobs/CaveSpider.cpp
index 118a6e93b..34135714d 100644
--- a/src/Mobs/CaveSpider.cpp
+++ b/src/Mobs/CaveSpider.cpp
@@ -34,7 +34,7 @@ void cCaveSpider::Attack(float a_Dt)
if (m_Target->IsPawn())
{
// TODO: Easy = no poison, Medium = 7 seconds, Hard = 15 seconds
- ((cPawn *) m_Target)->AddEntityEffect(cEntityEffect::effPoison, 7 * 20, 0);
+ ((cPawn *) m_Target)->AddEntityEffect(cEntityEffect::effPoison, 7 * 20, 0, this);
}
}