if(autocvar_g_spawn_alloweffects)
{
- WriteByte(MSG_ENTITY, etof(self.owner));
- WriteCoord(MSG_ENTITY, self.owner.origin.x);
- WriteCoord(MSG_ENTITY, self.owner.origin.y);
- WriteCoord(MSG_ENTITY, self.owner.origin.z);
+ WriteByte(MSG_ENTITY, etof(this.owner));
+ WriteCoord(MSG_ENTITY, this.owner.origin.x);
+ WriteCoord(MSG_ENTITY, this.owner.origin.y);
+ WriteCoord(MSG_ENTITY, this.owner.origin.z);
send = true;
}
- else if((to == self.owner) || (IS_SPEC(to) && (to.enemy == self.owner)) )
+ else if((to == this.owner) || (IS_SPEC(to) && (to.enemy == this.owner)) )
{
WriteByte(MSG_ENTITY, 0);
send = true;