if (sendflags & 1)
{
- this.__team = ReadByte();
+ setteam(this, ReadByte());
this.rule = ReadByte();
}
{
// no check, as this is never called without doing an actual change (usually only once)
e.rule = r;
- e.__team = t;
+ setteam(e, t);
e.SendFlags |= 1;
}
else
setorigin(wp, ofs);
wp.enemy = showto;
- wp.__team = t;
+ setteam(wp, t);
wp.owner = own;
wp.currentammo = hideable;
if (own)