this.invincible_finished += it.invincible_finished;
else if (it.strength_finished)
this.strength_finished += it.strength_finished;
+ else if (it.speed_finished)
+ this.speed_finished += it.speed_finished;
+ else if (it.invisibility_finished)
+ this.invisibility_finished += it.invisibility_finished;
else if (it.health)
this.health += it.health;
else if (it.armorvalue)
this.armorvalue += it.armorvalue;
- this.netname = cons(this.netname, it.netname);
+ this.netname = cons(this.netname, (it.itemdef.m_weapon) ? it.itemdef.m_weapon.netname : it.itemdef.netname);
}
//remove(it); // removing ents in init functions causes havoc, workaround:
if(this.notta)
return true;
+ // FIXME: singleplayer does not use maxclients 1 as that would prevent bots
if(this.notsingle)
if(maxclients == 1)
return true;