- // don't send group 1, 2, or 3 if this beam is for the local player
- if((to == self.owner) || ((to.enemy == self.owner) && IS_SPEC(to))) { sf &= ~7; }
- WriteByte(MSG_ENTITY, sf);
+ // Truncate information when this beam is displayed to the owner client
+ // - The owner client has no use for beam start position or directions,
+ // it always figures this information out for itself with csqc code.
+ // - Spectating the owner also truncates this information.
+ if((to == self.owner) || ((to.enemy == self.owner) && IS_SPEC(to)))
+ {
+ #if 0
+ sf &= ~2;
+ sf &= ~4;
+ sf &= ~8;
+ #else
+ sf &= ~14;
+ #endif
+ }