diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-01-25 20:00:50 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-01-25 20:00:50 +0100 |
commit | 60b7f5f23d117d48f230f80371b2adf13b85a09e (patch) | |
tree | a216c83602582bf4a0a3dd844a4d5c152abc5f30 /src/Mobs | |
parent | Implemented pickup combining (diff) | |
download | cuberite-60b7f5f23d117d48f230f80371b2adf13b85a09e.tar cuberite-60b7f5f23d117d48f230f80371b2adf13b85a09e.tar.gz cuberite-60b7f5f23d117d48f230f80371b2adf13b85a09e.tar.bz2 cuberite-60b7f5f23d117d48f230f80371b2adf13b85a09e.tar.lz cuberite-60b7f5f23d117d48f230f80371b2adf13b85a09e.tar.xz cuberite-60b7f5f23d117d48f230f80371b2adf13b85a09e.tar.zst cuberite-60b7f5f23d117d48f230f80371b2adf13b85a09e.zip |
Diffstat (limited to 'src/Mobs')
-rw-r--r-- | src/Mobs/AggressiveMonster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/AggressiveMonster.cpp b/src/Mobs/AggressiveMonster.cpp index a4b3eede1..f2f0c404c 100644 --- a/src/Mobs/AggressiveMonster.cpp +++ b/src/Mobs/AggressiveMonster.cpp @@ -50,9 +50,9 @@ void cAggressiveMonster::InStateChasing(float a_Dt) void cAggressiveMonster::EventSeePlayer(cEntity * a_Entity) { - super::EventSeePlayer(a_Entity); if (!((cPlayer *)a_Entity)->IsGameModeCreative()) { + super::EventSeePlayer(a_Entity); m_EMState = CHASING; } } |