diff options
author | archshift <admin@archshift.com> | 2014-06-13 11:41:43 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-06-17 20:39:22 +0200 |
commit | 9e8361976b6b0dc4c62ef48a4744ba1f59fe4346 (patch) | |
tree | f474d56be32cc0d830b95f0d1283d8b1ee43b212 /src/Mobs | |
parent | Changed the AddEntityEffect() params for easier calls. (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Mobs/CaveSpider.cpp | 2 |
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); } } |