[openjk] 29/32: SP: Fix copy fail

Simon McVittie smcv at debian.org
Sun Mar 12 18:03:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository openjk.

commit 3f3f18af4c353884eeafde51f752c0815bcc0b71
Author: Ensiform <ensiform at gmail.com>
Date:   Sun Mar 12 10:11:54 2017 -0500

    SP: Fix copy fail
---
 code/game/g_client.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/code/game/g_client.cpp b/code/game/g_client.cpp
index 039d7c6..1b147df 100644
--- a/code/game/g_client.cpp
+++ b/code/game/g_client.cpp
@@ -124,13 +124,13 @@ qboolean SpotWouldTelefrag( gentity_t *spot, team_t checkteam )
 	vec3_t		mins, maxs;
 
 	// If we have a mins, use that instead of the hardcoded bounding box
-	if ( !VectorCompare(spot->mins, vec3_origin) && && VectorLength( spot->mins ) )
+	if ( !VectorCompare(spot->mins, vec3_origin) && VectorLength( spot->mins ) )
 		VectorAdd( spot->s.origin, spot->mins, mins );
 	else
 		VectorAdd( spot->s.origin, playerMins, mins );
 
 	// If we have a maxs, use that instead of the hardcoded bounding box
-	if ( !VectorCompare(spot->maxs, vec3_origin) && && VectorLength( spot->maxs ) )
+	if ( !VectorCompare(spot->maxs, vec3_origin) && VectorLength( spot->maxs ) )
 		VectorAdd( spot->s.origin, spot->maxs, maxs );
 	else
 		VectorAdd( spot->s.origin, playerMaxs, maxs );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/openjk.git



More information about the Pkg-games-commits mailing list