make sure the language cvar is registered properly, even if we don't read registry settings on windows dedicated servers. fixes dedicated servers crashing.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4587 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2014-01-16 02:44:43 +00:00
parent eb3b670a45
commit 20c69342a2
2 changed files with 1 additions and 2 deletions

View file

@ -4566,7 +4566,6 @@ void Host_Init (quakeparms_t *parms)
host_parms = *parms; host_parms = *parms;
Cvar_Init(); Cvar_Init();
TranslateInit();
Memory_Init (); Memory_Init ();
/*memory is working, its safe to printf*/ /*memory is working, its safe to printf*/

View file

@ -4287,7 +4287,7 @@ void COM_Init (void)
Cvar_Register (&com_highlightcolor, "Internationalisation"); Cvar_Register (&com_highlightcolor, "Internationalisation");
com_parseutf8.ival = 1; com_parseutf8.ival = 1;
TranslateInit();
nullentitystate.hexen2flags = SCALE_ORIGIN_ORIGIN; nullentitystate.hexen2flags = SCALE_ORIGIN_ORIGIN;