summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Blaze.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-12-05 12:56:53 +0100
committerMattes D <github@xoft.cz>2014-12-05 12:58:47 +0100
commit44644ae0254bf3659c0995575041e2f656f20398 (patch)
tree571528b0f4864c0dab826a4366b9ad40049960be /src/Mobs/Blaze.cpp
parentMerge pull request #1649 from jonfabe/InfoDumpFix (diff)
downloadcuberite-44644ae0254bf3659c0995575041e2f656f20398.tar
cuberite-44644ae0254bf3659c0995575041e2f656f20398.tar.gz
cuberite-44644ae0254bf3659c0995575041e2f656f20398.tar.bz2
cuberite-44644ae0254bf3659c0995575041e2f656f20398.tar.lz
cuberite-44644ae0254bf3659c0995575041e2f656f20398.tar.xz
cuberite-44644ae0254bf3659c0995575041e2f656f20398.tar.zst
cuberite-44644ae0254bf3659c0995575041e2f656f20398.zip
Diffstat (limited to 'src/Mobs/Blaze.cpp')
-rw-r--r--src/Mobs/Blaze.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Blaze.cpp b/src/Mobs/Blaze.cpp
index 16869c79d..1fa9d2c37 100644
--- a/src/Mobs/Blaze.cpp
+++ b/src/Mobs/Blaze.cpp
@@ -34,7 +34,7 @@ void cBlaze::Attack(float a_Dt)
{
m_AttackInterval += a_Dt * m_AttackRate;
- if (m_Target != nullptr && m_AttackInterval > 3.0)
+ if ((m_Target != nullptr) && (m_AttackInterval > 3.0))
{
// Setting this higher gives us more wiggle room for attackrate
Vector3d Speed = GetLookVector() * 20;