mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-13 16:37:47 +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$
|
// $Log$
|
||||||
|
// Revision 1.25 2002/05/01 18:56:02 makro
|
||||||
|
// Small fix
|
||||||
|
//
|
||||||
// Revision 1.24 2002/05/01 18:09:55 makro
|
// Revision 1.24 2002/05/01 18:09:55 makro
|
||||||
// Disabled footsteps from animation.cfg files
|
// Disabled footsteps from animation.cfg files
|
||||||
//
|
//
|
||||||
|
@ -121,6 +124,8 @@ static qboolean CG_ParseAnimationFile( const char *filename, clientInfo_t *ci )
|
||||||
float fps;
|
float fps;
|
||||||
int skip;
|
int skip;
|
||||||
char text[20000];
|
char text[20000];
|
||||||
|
char var[MAX_TOKEN_CHARS];
|
||||||
|
|
||||||
fileHandle_t f;
|
fileHandle_t f;
|
||||||
animation_t *animations;
|
animation_t *animations;
|
||||||
|
|
||||||
|
@ -175,7 +180,8 @@ static qboolean CG_ParseAnimationFile( const char *filename, clientInfo_t *ci )
|
||||||
ci->footsteps = FOOTSTEP_ENERGY;*/
|
ci->footsteps = FOOTSTEP_ENERGY;*/
|
||||||
} else {
|
} else {
|
||||||
//Makro - added developer 1 check
|
//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 );
|
CG_Printf( "Bad footsteps parm in %s: %s\n", filename, token );
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue