don't use q3 gamecode on q2 bsps.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1953 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-02-11 18:09:15 +00:00
parent d1051b535a
commit e3537af35d

View file

@ -1830,7 +1830,7 @@ qboolean SVQ3_InitGame(void)
char sysinfo[8192]; char sysinfo[8192];
extern cvar_t progs; extern cvar_t progs;
if (sv.worldmodel->fromgame == fg_quake) if (sv.worldmodel->fromgame == fg_quake || sv.worldmodel->fromgame == fg_quake2)
return false; //always fail on q1bsp return false; //always fail on q1bsp
if (*progs.string) //don't load q3 gamecode if we're explicitally told to load a progs. if (*progs.string) //don't load q3 gamecode if we're explicitally told to load a progs.