summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-06-30 20:33:10 +0200
committerworktycho <work.tycho@gmail.com>2014-06-30 20:33:10 +0200
commitafda11a495de5b48ad17334da0e3f3b801d02f9b (patch)
tree29d171481aa78e005f068da9718b85a69de7095a
parentReplaced strange algebra with dot product. (diff)
downloadcuberite-afda11a495de5b48ad17334da0e3f3b801d02f9b.tar
cuberite-afda11a495de5b48ad17334da0e3f3b801d02f9b.tar.gz
cuberite-afda11a495de5b48ad17334da0e3f3b801d02f9b.tar.bz2
cuberite-afda11a495de5b48ad17334da0e3f3b801d02f9b.tar.lz
cuberite-afda11a495de5b48ad17334da0e3f3b801d02f9b.tar.xz
cuberite-afda11a495de5b48ad17334da0e3f3b801d02f9b.tar.zst
cuberite-afda11a495de5b48ad17334da0e3f3b801d02f9b.zip
-rw-r--r--src/Mobs/Enderman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Enderman.cpp b/src/Mobs/Enderman.cpp
index d26639a75..6b7a22757 100644
--- a/src/Mobs/Enderman.cpp
+++ b/src/Mobs/Enderman.cpp
@@ -47,7 +47,7 @@ public:
double dot = Direction.Dot(LookVector);
// 0.09 rad ~ 5 degrees.
- // If the players crosshars are 10 degrees from the line linking the endermen
+ // If the players crosshair is within 5 degrees of the endermen
// It counts as looking.
if (dot > cos(0.09))
{