#endif
#include "common.qh"
-void WarpZoneLib_ExactTrigger_Init(entity this)
+void WarpZoneLib_ExactTrigger_Init(entity this, bool unsetmodel)
{
vector mi, ma;
if (this.movedir == '0 0 0')
else
setsize(this, this.mins, this.maxs);
set_movetype(this, MOVETYPE_NONE);
- this.model = "";
- // Xonotic and Nexuiz maps assume triggers will be activated by adjacent players
- // this causes the touch func to be called in that case
- // prior to sv_legacy_bbox_expand 0 DP always did this for SVQC and never for CSQC
- if (!Q3COMPAT_COMMON)
- setsize(this, this.mins - '1 1 1', this.maxs + '1 1 1');
+ if (unsetmodel)
+ this.model = "";
}