summaryrefslogtreecommitdiffstats
path: root/src/Mobs/AggressiveMonster.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-01-22 19:53:34 +0100
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-01-22 19:53:34 +0100
commit30b95fcc4ec8465a8fb076fbb88ac6835a832a19 (patch)
tree44fa8a18db08ae8bb34d43efba9a800f47d135cd /src/Mobs/AggressiveMonster.h
parentMerge pull request #2901 from birkett/servicefix (diff)
parentSpiders now friendly at daylight, new cChunk functions (diff)
downloadcuberite-30b95fcc4ec8465a8fb076fbb88ac6835a832a19.tar
cuberite-30b95fcc4ec8465a8fb076fbb88ac6835a832a19.tar.gz
cuberite-30b95fcc4ec8465a8fb076fbb88ac6835a832a19.tar.bz2
cuberite-30b95fcc4ec8465a8fb076fbb88ac6835a832a19.tar.lz
cuberite-30b95fcc4ec8465a8fb076fbb88ac6835a832a19.tar.xz
cuberite-30b95fcc4ec8465a8fb076fbb88ac6835a832a19.tar.zst
cuberite-30b95fcc4ec8465a8fb076fbb88ac6835a832a19.zip
Diffstat (limited to 'src/Mobs/AggressiveMonster.h')
-rw-r--r--src/Mobs/AggressiveMonster.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/AggressiveMonster.h b/src/Mobs/AggressiveMonster.h
index 13f59842f..f2d6366e2 100644
--- a/src/Mobs/AggressiveMonster.h
+++ b/src/Mobs/AggressiveMonster.h
@@ -19,7 +19,7 @@ public:
virtual void Tick (std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
virtual void InStateChasing(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
- virtual void EventSeePlayer(cEntity *) override;
+ virtual void EventSeePlayer(cEntity * a_Player, cChunk & a_Chunk) override;
/** Try to perform attack
returns true if attack was deemed successful (hit player, fired projectile, creeper exploded, etc.) even if it didn't actually do damage