if (!this.respawntime)
{
- if (e.weapons & WEPSET_SUPERWEAPONS)
+ if (e.spawnflags & WEP_FLAG_SUPERWEAPON)
{
this.respawntime = g_pickup_respawntime_superweapon;
this.respawntimejitter = g_pickup_respawntimejitter_superweapon;
}
}
- if (e.weapons & WEPSET_SUPERWEAPONS)
+ if (e.spawnflags & WEP_FLAG_SUPERWEAPON)
if (!this.superweapons_finished)
+ {
this.superweapons_finished = autocvar_g_balance_superweapons_time;
+ LOG_INFO("Setting it to ", ftos(this.superweapons_finished), " on ", e.mdl, "\n");
+ }
// if we don't already have ammo, give us some ammo
if (!this.(e.ammo_field))