Permalink
Browse files

v0.9.9.3 another small debug printf cleaned + reverted cl_cgame.c

Signed-off-by: Stephen L. <lrq3000@gmail.com>
  • Loading branch information...
1 parent 7d5f1dd commit 6226c29e7bd07d655af22a0f19fd44c5579d0d9e @lrq3000 committed Mar 22, 2012
Showing with 11 additions and 9 deletions.
  1. +11 −9 code/client/cl_cgame.c
View
20 code/client/cl_cgame.c
@@ -156,7 +156,7 @@ qboolean CL_GetSnapshot( int snapshotNumber, snapshot_t *snapshot ) {
}
snapshot->numEntities = count;
for ( i = 0 ; i < count ; i++ ) {
- snapshot->entities[i] =
+ snapshot->entities[i] =
cl.parseEntities[ ( clSnap->parseEntitiesNum + i ) & (MAX_PARSE_ENTITIES-1) ];
}
@@ -225,7 +225,7 @@ void CL_ConfigstringModified( void ) {
// leave the first 0 for uninitialized strings
cl.gameState.dataCount = 1;
-
+
for ( i = 0 ; i < MAX_CONFIGSTRINGS ; i++ ) {
if ( i == index ) {
dup = s;
@@ -287,8 +287,7 @@ qboolean CL_GetServerCommand( int serverCommandNumber ) {
s = clc.serverCommands[ serverCommandNumber & ( MAX_RELIABLE_COMMANDS - 1 ) ];
clc.lastExecutedServerCommand = serverCommandNumber;
- if ( strncmp(s, "tinfo", 5))
- Com_DPrintf( "serverCommand: %i : %s\n", serverCommandNumber, s );
+ Com_DPrintf( "serverCommand: %i : %s\n", serverCommandNumber, s );
rescan:
Cmd_TokenizeString( s );
@@ -426,7 +425,7 @@ intptr_t CL_CgameSystemCalls( intptr_t *args ) {
case CG_MILLISECONDS:
return Sys_Milliseconds();
case CG_CVAR_REGISTER:
- Cvar_Register( VMA(1), VMA(2), VMA(3), args[4] );
+ Cvar_Register( VMA(1), VMA(2), VMA(3), args[4] );
return 0;
case CG_CVAR_UPDATE:
Cvar_Update( VMA(1) );
@@ -538,7 +537,7 @@ intptr_t CL_CgameSystemCalls( intptr_t *args ) {
return 0;
case CG_R_LOADWORLDMAP:
re.LoadWorld( VMA(1) );
- return 0;
+ return 0;
case CG_R_REGISTERMODEL:
return re.RegisterModel( VMA(1) );
case CG_R_REGISTERSKIN:
@@ -985,7 +984,7 @@ void CL_SetCGameTime( void ) {
if ( cls.state != CA_ACTIVE ) {
return;
}
- }
+ }
// if we have gotten to this point, cl.snap is guaranteed to be valid
if ( !cl.snap.valid ) {
@@ -1011,10 +1010,10 @@ void CL_SetCGameTime( void ) {
} else {
// cl_timeNudge is a user adjustable cvar that allows more
- // or less latency to be added in the interest of better
+ // or less latency to be added in the interest of better
// smoothness or better responsiveness.
int tn;
-
+
tn = cl_timeNudge->integer;
if (tn<-30) {
tn = -30;
@@ -1101,3 +1100,6 @@ void CL_SetCGameTime( void ) {
}
}
+
+
+

0 comments on commit 6226c29

Please sign in to comment.