aboutsummaryrefslogtreecommitdiff
path: root/src/shared/vmap/BaseModel.cpp
diff options
context:
space:
mode:
authorDrahy <none@none>2009-02-04 22:08:23 +0100
committerDrahy <none@none>2009-02-04 22:08:23 +0100
commit674477ddf8678d81d116df88b33160fa6be303cb (patch)
tree8dd3bac5ab94ee39d7b72588ce8fef231c70ddb0 /src/shared/vmap/BaseModel.cpp
parent5d4d9530556eb66940775f12c3cc5f3c115447ca (diff)
parentc745eba4a1d122b4184b27a982674c86ff193c23 (diff)
* Huge merge with original branch
--HG-- branch : trunk
Diffstat (limited to 'src/shared/vmap/BaseModel.cpp')
-rw-r--r--src/shared/vmap/BaseModel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/vmap/BaseModel.cpp b/src/shared/vmap/BaseModel.cpp
index f281fdd8f61..bce9c718acd 100644
--- a/src/shared/vmap/BaseModel.cpp
+++ b/src/shared/vmap/BaseModel.cpp
@@ -1,4 +1,4 @@
-/*
+/*
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* Copyright (C) 2008-2009 Trinity <http://www.trinitycore.org/>
@@ -84,11 +84,11 @@ namespace VMAP
// See if the ray will ever hit this node or its children
Vector3 location;
bool alreadyInsideBounds = false;
- bool rayWillHitBounds =
+ bool rayWillHitBounds =
MyCollisionDetection::collisionLocationForMovingPointFixedAABox(
pRay.origin, pRay.direction, pBox, location, alreadyInsideBounds);
- bool canHitThisNode = (alreadyInsideBounds ||
+ bool canHitThisNode = (alreadyInsideBounds ||
(rayWillHitBounds && ((location - pRay.origin).squaredLength() < (pMaxDist * pMaxDist))));
return canHitThisNode;