diff options
author | madmaxoft <github@xoft.cz> | 2014-07-19 14:53:41 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-19 14:53:41 +0200 |
commit | 00c524519ef6c7ceaf4ac91307617cfd65d7cf21 (patch) | |
tree | 3587ecc98aada0ce36da33e50a1d460c17129b3e /src/World.cpp | |
parent | Merge pull request #1214 from mc-server/anti-glob (diff) | |
download | cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.gz cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.bz2 cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.lz cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.xz cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.zst cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.zip |
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp index c27fd462b..d90383884 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -2469,7 +2469,7 @@ cPlayer * cWorld::FindClosestPlayer(const Vector3d & a_Pos, float a_SightLimit, { if (a_CheckLineOfSight) { - if(!LineOfSight.Trace(a_Pos,(Pos - a_Pos),(int)(Pos - a_Pos).Length())) + if(!LineOfSight.Trace(a_Pos, (Pos - a_Pos), (int)(Pos - a_Pos).Length())) { ClosestDistance = Distance; ClosestPlayer = *itr; |