mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 13:50:53 +00:00
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:
parent
f9d403039d
commit
f956a5f311
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue