diff options
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/physics/movement.cpp | 1 | ||||
| -rw-r--r-- | src/game/raycast.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/game/physics/movement.cpp b/src/game/physics/movement.cpp index 838c8a9..4cb669f 100644 --- a/src/game/physics/movement.cpp +++ b/src/game/physics/movement.cpp @@ -465,7 +465,6 @@ void gmove_step_move( VEC3 dest, BSP_TRACE* tr ) { up = tr->point; gmove_try_move( tr, &up, &upvel ); - VEC3 upnorm = tr->normal; // move back down onto the ground endpos = up; diff --git a/src/game/raycast.cpp b/src/game/raycast.cpp index ec66b48..e8bcfd9 100644 --- a/src/game/raycast.cpp +++ b/src/game/raycast.cpp @@ -73,7 +73,6 @@ LIST<RAY_HITDATA> ray_trace_list( VEC3 start, F32 ang, U32 max_iter ) { U32 ray_trace( TRACE* tr, F32 ang ) { F32 rayang = m_deg2rad( ang ); - VEC3 start = tr->startpos; VEC3 raydir = { cos( rayang ), sin( rayang ), 0.f }; raydir *= RAY_DEPTH_MAX; |
