mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +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 ) {
|
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_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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue