1
0
Fork 0
forked from fte/fteqw

Always use some gamedir in Q3.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1481 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-10-16 03:54:03 +00:00
parent 7d0fe8e1b9
commit 49886f4096

View file

@ -452,6 +452,8 @@ qboolean CLQ3_SystemInfoChanged(char *str)
#endif #endif
{ {
COM_FlushTempoaryPacks(); COM_FlushTempoaryPacks();
if (!*value)
value = "baseq3";
COM_Gamedir(value); COM_Gamedir(value);
#ifndef CLIENTONLY #ifndef CLIENTONLY
Info_SetValueForStarKey (svs.info, "*gamedir", value, MAX_SERVERINFO_STRING); Info_SetValueForStarKey (svs.info, "*gamedir", value, MAX_SERVERINFO_STRING);