diff options
Diffstat (limited to 'code/ui')
-rw-r--r-- | code/ui/ui_players.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/code/ui/ui_players.c b/code/ui/ui_players.c index b774815..a40dcaa 100644 --- a/code/ui/ui_players.c +++ b/code/ui/ui_players.c @@ -1040,6 +1040,7 @@ static qboolean UI_ParseAnimationFile( const char *filename, animation_t *animat } if ( len >= ( sizeof( text ) - 1 ) ) { Com_Printf( "File %s too long\n", filename ); + trap_FS_FCloseFile( f ); return qfalse; } trap_FS_Read( text, len, f ); |