diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-08-04 11:23:35 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-08-04 11:23:35 +0200 |
commit | e70077361d239f3f3a9d8a94c8262d663018f901 (patch) | |
tree | 04f5454014b5b65e15a2f4981cc9ee7fc93005b6 /src/Mobs | |
parent | Fixed warnings (diff) | |
download | cuberite-e70077361d239f3f3a9d8a94c8262d663018f901.tar cuberite-e70077361d239f3f3a9d8a94c8262d663018f901.tar.gz cuberite-e70077361d239f3f3a9d8a94c8262d663018f901.tar.bz2 cuberite-e70077361d239f3f3a9d8a94c8262d663018f901.tar.lz cuberite-e70077361d239f3f3a9d8a94c8262d663018f901.tar.xz cuberite-e70077361d239f3f3a9d8a94c8262d663018f901.tar.zst cuberite-e70077361d239f3f3a9d8a94c8262d663018f901.zip |
Diffstat (limited to 'src/Mobs')
-rw-r--r-- | src/Mobs/Monster.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp index 54ad869c2..a9889b62f 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -305,13 +305,15 @@ void cMonster::Tick(float a_Dt, cChunk & a_Chunk) AddSpeedX(Distance.x); AddSpeedZ(Distance.z); - /* It's too buggy! */ - /** if (m_EMState == ESCAPING) + // It's too buggy! + /* + if (m_EMState == ESCAPING) { // Runs Faster when escaping :D otherwise they just walk away SetSpeedX (GetSpeedX() * 2.f); SetSpeedZ (GetSpeedZ() * 2.f); - } */ + } + */ } else { |