mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 13:40:56 +00:00
bring some freeish()ing operations ahead from after Errorish() calls
From /dev/humancontroller.
This commit is contained in:
parent
a4c61d874d
commit
af90948182
1 changed files with 1 additions and 1 deletions
|
@ -1447,8 +1447,8 @@ void CG_LoadMenus(const char *menuFile) {
|
|||
}
|
||||
|
||||
if ( len >= MAX_MENUDEFFILE ) {
|
||||
trap_Error( va( S_COLOR_RED "menu file too large: %s is %i, max allowed is %i", menuFile, len, MAX_MENUDEFFILE ) );
|
||||
trap_FS_FCloseFile( f );
|
||||
trap_Error( va( S_COLOR_RED "menu file too large: %s is %i, max allowed is %i", menuFile, len, MAX_MENUDEFFILE ) );
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue