diff options
author | worktycho <work.tycho@gmail.com> | 2014-06-30 20:33:10 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2014-06-30 20:33:10 +0200 |
commit | afda11a495de5b48ad17334da0e3f3b801d02f9b (patch) | |
tree | 29d171481aa78e005f068da9718b85a69de7095a /src | |
parent | Replaced strange algebra with dot product. (diff) | |
download | cuberite-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 |
Diffstat (limited to 'src')
-rw-r--r-- | src/Mobs/Enderman.cpp | 2 |
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)) { |