CSQC shouldn't depend on Q2bsp.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2407 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-10-13 13:39:00 +00:00
parent f9d403039d
commit f956a5f311

View file

@ -2503,8 +2503,10 @@ static void PF_cs_addprogs (progfuncs_t *prinst, struct globalvars_s *pr_globals
static void PF_cs_OpenPortal (progfuncs_t *prinst, struct globalvars_s *pr_globals)
{
#ifdef Q2BSPS
if (sv.worldmodel->fromgame == fg_quake2)
CMQ2_SetAreaPortalState(G_FLOAT(OFS_PARM0), G_FLOAT(OFS_PARM1));
#endif
}
void PF_cs_droptofloor (progfuncs_t *prinst, struct globalvars_s *pr_globals)