diff options
Diffstat (limited to 'code/cgame')
-rw-r--r-- | code/cgame/cg_players.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/code/cgame/cg_players.c b/code/cgame/cg_players.c index 6987442..a7858fd 100644 --- a/code/cgame/cg_players.c +++ b/code/cgame/cg_players.c @@ -107,6 +107,7 @@ static qboolean CG_ParseAnimationFile( const char *filename, clientInfo_t *ci ) } if ( len >= sizeof( text ) - 1 ) { CG_Printf( "File %s too long\n", filename ); + trap_FS_FCloseFile( f ); return qfalse; } trap_FS_Read( text, len, f ); |