diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2011-08-06 20:37:32 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:18:11 +0000 |
commit | 786fa4540110bd35471cdd69060b7390ab7dadf1 (patch) | |
tree | 339f0d6938c8ff254f228cc1a61f266c54d7f109 /src/cgame | |
parent | 9444ac2e8eae79767188639f0db51ea5b05d37ae (diff) |
* (bug 4959) Merge ioq3 r1822, r1874 (/dev/humancontroller)
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_local.h | 5 | ||||
-rw-r--r-- | src/cgame/cg_snapshot.c | 2 | ||||
-rw-r--r-- | src/cgame/cg_view.c | 7 |
3 files changed, 2 insertions, 12 deletions
diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h index 98f72809..42b5e0e3 100644 --- a/src/cgame/cg_local.h +++ b/src/cgame/cg_local.h @@ -1084,10 +1084,7 @@ typedef struct float v_dmg_pitch; float v_dmg_roll; - vec3_t kick_angles; // weapon kicks - vec3_t kick_origin; - - qboolean chaseFollow; + qboolean chaseFollow; // temp working variables for player view float bobfracsin; diff --git a/src/cgame/cg_snapshot.c b/src/cgame/cg_snapshot.c index 31cc02ec..673558d3 100644 --- a/src/cgame/cg_snapshot.c +++ b/src/cgame/cg_snapshot.c @@ -259,7 +259,7 @@ static snapshot_t *CG_ReadNextSnapshot( void ) if( cg.latestSnapshotNum > cgs.processedSnapshotNum + 1000 ) { - CG_Printf( "WARNING: CG_ReadNextSnapshot: way out of range, %i > %i", + CG_Printf( "WARNING: CG_ReadNextSnapshot: way out of range, %i > %i\n", cg.latestSnapshotNum, cgs.processedSnapshotNum ); } diff --git a/src/cgame/cg_view.c b/src/cgame/cg_view.c index 7d5fe06f..823287d8 100644 --- a/src/cgame/cg_view.c +++ b/src/cgame/cg_view.c @@ -579,9 +579,6 @@ void CG_OffsetFirstPersonView( void ) return; } - // add angles based on weapon kick - VectorAdd( angles, cg.kick_angles, angles ); - // add angles based on damage kick if( cg.damageTime ) { @@ -822,10 +819,6 @@ void CG_OffsetFirstPersonView( void ) // add step offset CG_StepOffset( ); - - // add kick offset - - VectorAdd (origin, cg.kick_origin, origin); } //====================================================================== |