summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2015-03-28 02:54:30 +0100
committer/dev/humancontroller <devhc@example.com>2017-03-09 13:51:12 +0100
commitf8dd3e4323d44c717c34e64d26128cc9ed4d6c98 (patch)
tree74b55396a63bdb585911bd39d6f6a56fbcf0238f /src/cgame
parent02b95e3bc75c48849dcfc34e32cca028ee09a3b7 (diff)
refactor stuff
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_syscalls.asm3
-rw-r--r--src/cgame/cg_view.c1
2 files changed, 1 insertions, 3 deletions
diff --git a/src/cgame/cg_syscalls.asm b/src/cgame/cg_syscalls.asm
index 2537c91c..5ff88d10 100644
--- a/src/cgame/cg_syscalls.asm
+++ b/src/cgame/cg_syscalls.asm
@@ -12,7 +12,7 @@ equ trap_Argv -9
equ trap_Args -10
equ trap_FS_FOpenFile -11
equ trap_FS_Read -12
-equ trap_FS_Write -13
+equ trap_FS_Write -13
equ trap_FS_FCloseFile -14
equ trap_SendConsoleCommand -15
equ trap_AddCommand -16
@@ -118,4 +118,3 @@ equ floor -208
equ ceil -209
equ testPrintInt -210
equ testPrintFloat -211
-
diff --git a/src/cgame/cg_view.c b/src/cgame/cg_view.c
index 1259fbb8..ee642aaf 100644
--- a/src/cgame/cg_view.c
+++ b/src/cgame/cg_view.c
@@ -1093,7 +1093,6 @@ static void CG_smoothWWTransitions( playerState_t *ps, const vec3_t in, vec3_t o
if( !VectorCompare( surfNormal, cg.lastNormal ) )
{
//if we moving from the ceiling to the floor special case
- //( x product of colinear vectors is undefined)
if( VectorCompare( ceilingNormal, cg.lastNormal ) &&
VectorCompare( refNormal, surfNormal ) )
{