Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings
This commit is contained in:
parent
1ea7ab1f42
commit
23f6fd1633
85 changed files with 246 additions and 496 deletions
|
@ -827,7 +827,6 @@ or bursted delayed packets.
|
|||
#define RESET_TIME 500
|
||||
|
||||
void CL_AdjustTimeDelta( void ) {
|
||||
int resetTime;
|
||||
int newDelta;
|
||||
int deltaDelta;
|
||||
|
||||
|
@ -838,13 +837,6 @@ void CL_AdjustTimeDelta( void ) {
|
|||
return;
|
||||
}
|
||||
|
||||
// if the current time is WAY off, just correct to the current value
|
||||
if ( com_sv_running->integer ) {
|
||||
resetTime = 100;
|
||||
} else {
|
||||
resetTime = RESET_TIME;
|
||||
}
|
||||
|
||||
newDelta = cl.snap.serverTime - cls.realtime;
|
||||
deltaDelta = abs( newDelta - cl.serverTimeDelta );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue