mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-11 15:52:30 +00:00
Small fix
This commit is contained in:
parent
f775db3760
commit
2e8a4c301d
1 changed files with 7 additions and 1 deletions
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.25 2002/05/01 18:56:02 makro
|
||||
// Small fix
|
||||
//
|
||||
// Revision 1.24 2002/05/01 18:09:55 makro
|
||||
// Disabled footsteps from animation.cfg files
|
||||
//
|
||||
|
@ -121,6 +124,8 @@ static qboolean CG_ParseAnimationFile( const char *filename, clientInfo_t *ci )
|
|||
float fps;
|
||||
int skip;
|
||||
char text[20000];
|
||||
char var[MAX_TOKEN_CHARS];
|
||||
|
||||
fileHandle_t f;
|
||||
animation_t *animations;
|
||||
|
||||
|
@ -175,7 +180,8 @@ static qboolean CG_ParseAnimationFile( const char *filename, clientInfo_t *ci )
|
|||
ci->footsteps = FOOTSTEP_ENERGY;*/
|
||||
} else {
|
||||
//Makro - added developer 1 check
|
||||
if (trap_Cvar_VariableValue("developer"))
|
||||
trap_Cvar_VariableStringBuffer( "developer", var, sizeof( var ) );
|
||||
if ( atoi(var) )
|
||||
CG_Printf( "Bad footsteps parm in %s: %s\n", filename, token );
|
||||
}
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue