Skip to content

Fix #2195: "Clan Arena: own name tag displayed over teammate's head when a round ends"

terencehill requested to merge terencehill/name_tag_fix into master

There are 2 situations where frags is set to FRAGS_LMS_LOSER:

  1. when player ends a race if other players are still racing
    in this case player becomes untouchable (solid is set to SOLID_TRIGGER)

  2. when player dies in a CA round (or in a LMS match if they have no more lives left)
    in this case player becomes spectator (solid is set to SOLID_NOT)

Experimentally it seems that model can be used instead of solid to check if a player is a spectator or not... am I right?
Otherwise solid should be added to the list of networked fields of the entcs entities, meaning we'll have to waste a bit more bandwidth.

Merge request reports