t |= (i == WEP_HOOK);
}
- // we cannot disable porto in Nexball, we must force it
- if(g_nexball && i == WEP_PORTO)
- t = 1;
-
return t;
}
if (g_weaponarena)
{
+ g_minstagib = 0; // incompatible
+ g_pinata = 0; // incompatible
+ g_weapon_stay = 0; // incompatible
start_weapons = g_weaponarena;
if(!(g_lms || g_ca))
start_items |= IT_UNLIMITED_AMMO;
}
else if (g_minstagib)
{
+ g_pinata = 0; // incompatible
+ g_weapon_stay = 0; // incompatible
+ g_bloodloss = 0; // incompatible
start_health = 100;
start_armorvalue = 0;
start_weapons = WEPBIT_MINSTANEX;
MUTATOR_ADD(mutator_vampire);
if(cvar("g_spawn_near_teammate"))
MUTATOR_ADD(mutator_spawn_near_teammate);
+ if(cvar("g_physical_items"))
+ MUTATOR_ADD(mutator_physical_items);
// is this a mutator? is this a mode?
if(cvar("g_sandbox"))
}
#define PROJECTILE_TOUCH if(WarpZone_Projectile_Touch()) return
+#define ITEM_TOUCH_NEEDKILL() (((trace_dpstartcontents | trace_dphitcontents) & DPCONTENTS_NODROP) || (trace_dphitq3surfaceflags & Q3SURFACEFLAG_SKY))
+#define ITEM_DAMAGE_NEEDKILL(dt) (((dt) == DEATH_HURTTRIGGER) || ((dt) == DEATH_SLIME) || ((dt) == DEATH_LAVA) || ((dt) == DEATH_SWAMP))
+
void URI_Get_Callback(float id, float status, string data)
{
if(url_URI_Get_Callback(id, status, data))