Two bugs fixed.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1123 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-07-02 00:15:19 +00:00
parent f85340b9a2
commit 8362b8394b
1 changed files with 4 additions and 2 deletions

View File

@ -2933,9 +2933,9 @@ void Host_Init (quakeparms_t *parms)
hrc = COM_FDepthFile("hexen.rc", true); //h2
def = COM_FDepthFile("default.cfg", true); //q2/q3
if (qrc >= def && qrc >= hrc && qrc!=0x7fffffff)
if (qrc <= def && qrc <= hrc && qrc!=0x7fffffff)
Cbuf_AddText ("exec quake.rc\n", RESTRICT_LOCAL);
else if (hrc >= def && hrc!=0x7fffffff)
else if (hrc <= def && hrc!=0x7fffffff)
Cbuf_AddText ("exec hexen.rc\n", RESTRICT_LOCAL);
else
{ //they didn't give us an rc file!
@ -2987,6 +2987,8 @@ void Host_Init (quakeparms_t *parms)
if ((i = COM_CheckParm ("-bpp")))
Cvar_Set(Cvar_FindVar("vid_bpp"), com_argv[i+1]);
Cvar_ApplyLatches(CVAR_RENDERERLATCH);
//-1 means 'never set'
if (qrenderer == -1 && *vid_renderer.string)
{