aboutsummaryrefslogtreecommitdiff
path: root/mp/src/utils/vrad/vraddetailprops.cpp
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-09-03 14:23:08 -0700
committerJørgen P. Tjernø <[email protected]>2013-09-03 14:23:08 -0700
commit10e27147843c640b275dbaae926a6fb84567f86b (patch)
treed7c0119823166633b64dea320bd386951ac0644a /mp/src/utils/vrad/vraddetailprops.cpp
parentGeneral: (diff)
parentFix bsp lump names being declared non-portably. (diff)
downloadsource-sdk-2013-10e27147843c640b275dbaae926a6fb84567f86b.tar.xz
source-sdk-2013-10e27147843c640b275dbaae926a6fb84567f86b.zip
Merge commit '82fe37f'
Diffstat (limited to 'mp/src/utils/vrad/vraddetailprops.cpp')
-rw-r--r--mp/src/utils/vrad/vraddetailprops.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/mp/src/utils/vrad/vraddetailprops.cpp b/mp/src/utils/vrad/vraddetailprops.cpp
index 6712beb1..822bc78c 100644
--- a/mp/src/utils/vrad/vraddetailprops.cpp
+++ b/mp/src/utils/vrad/vraddetailprops.cpp
@@ -524,7 +524,8 @@ private:
bool TestPointAgainstSkySurface( Vector const &pt, dface_t *pFace )
{
// Create sky face winding.
- winding_t *pWinding = WindingFromFace( pFace, Vector( 0.0f, 0.0f, 0.0f ) );
+ Vector v( 0.0f, 0.0f, 0.0f );
+ winding_t *pWinding = WindingFromFace( pFace, v );
// Test point in winding. (Since it is at the node, it is in the plane.)
bool bRet = PointInWinding( pt, pWinding );