summaryrefslogtreecommitdiffstats
path: root/src/Mobs/PassiveAggressiveMonster.cpp
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-11-09 11:37:26 +0100
committerworktycho <work.tycho@gmail.com>2015-11-09 11:37:26 +0100
commit1e93d2f73c241e893752356e86a05d94624d5763 (patch)
tree91b6e96dc86a2b6a91bf2ca65f97c0273ee76eb9 /src/Mobs/PassiveAggressiveMonster.cpp
parentMerge pull request #2626 from cuberite/worktycho-patch-1 (diff)
parentneutral mobs shouldn't chase the player unless aggro'd (diff)
downloadcuberite-1e93d2f73c241e893752356e86a05d94624d5763.tar
cuberite-1e93d2f73c241e893752356e86a05d94624d5763.tar.gz
cuberite-1e93d2f73c241e893752356e86a05d94624d5763.tar.bz2
cuberite-1e93d2f73c241e893752356e86a05d94624d5763.tar.lz
cuberite-1e93d2f73c241e893752356e86a05d94624d5763.tar.xz
cuberite-1e93d2f73c241e893752356e86a05d94624d5763.tar.zst
cuberite-1e93d2f73c241e893752356e86a05d94624d5763.zip
Diffstat (limited to 'src/Mobs/PassiveAggressiveMonster.cpp')
-rw-r--r--src/Mobs/PassiveAggressiveMonster.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Mobs/PassiveAggressiveMonster.cpp b/src/Mobs/PassiveAggressiveMonster.cpp
index f5577f71f..e0abd94a5 100644
--- a/src/Mobs/PassiveAggressiveMonster.cpp
+++ b/src/Mobs/PassiveAggressiveMonster.cpp
@@ -39,3 +39,9 @@ bool cPassiveAggressiveMonster::DoTakeDamage(TakeDamageInfo & a_TDI)
+void cPassiveAggressiveMonster::EventSeePlayer(cEntity *)
+{
+ // don't do anything, neutral mobs don't react to just seeing the player
+}
+
+