From 97ddcc1c0ae13cf585959e655d55e215b2c5eca6 Mon Sep 17 00:00:00 2001 From: Gargaj Date: Sun, 8 Nov 2015 20:53:32 +0100 Subject: neutral mobs shouldn't chase the player unless aggro'd code style neutral mobs shouldn't chase the player unless aggro'd neutral mobs shouldn't chase the player unless aggro'd Merge branch 'chilloutyo' of github.com:Gargaj/cuberite into chilloutyo Conflicts: src/Mobs/PassiveAggressiveMonster.h code style Merge branch 'chilloutyo' of github.com:Gargaj/cuberite into chilloutyo --- src/Mobs/PassiveAggressiveMonster.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Mobs/PassiveAggressiveMonster.cpp') 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 +} + + -- cgit v1.2.3