Skip to content

Commit

Permalink
Merge pull request #665 from smcv/uninitialized
Browse files Browse the repository at this point in the history
MP: PM_VehicleViewAngles: fix use of uninitialized variables
  • Loading branch information
xycaleth committed Aug 9, 2015
2 parents 6201bf3 + bbd2017 commit bf48278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codemp/game/bg_pmove.c
Original file line number Diff line number Diff line change
Expand Up @@ -9646,7 +9646,7 @@ static QINLINE void PM_CmdForSaberMoves(usercmd_t *ucmd)
void PM_VehicleViewAngles(playerState_t *ps, bgEntity_t *veh, usercmd_t *ucmd)
{
Vehicle_t *pVeh = veh->m_pVehicle;
qboolean setAngles = qtrue;
qboolean setAngles = qfalse;
vec3_t clampMin;
vec3_t clampMax;
int i;
Expand Down

0 comments on commit bf48278

Please sign in to comment.