Fixing warnings about uninitialised variables

This commit is contained in:
Richard Allen 2009-07-07 01:06:48 +00:00
parent 1636390bc0
commit eca9eff0e8

View file

@ -591,7 +591,7 @@ void CG_PredictPlayerState(void)
usercmd_t oldestCmd; usercmd_t oldestCmd;
usercmd_t latestCmd; usercmd_t latestCmd;
// JBravo: unlagged // JBravo: unlagged
int stateIndex, predictCmd; int stateIndex = 0, predictCmd = 0;
int numPredicted = 0, numPlayedBack = 0; int numPredicted = 0, numPlayedBack = 0;
cg.hyperspace = qfalse; // will be set if touching a trigger_teleport cg.hyperspace = qfalse; // will be set if touching a trigger_teleport