Skip to content
Snippets Groups Projects

Fix Height Being Set to Default in Tag Teams (Resolves #1022)

Closed SMS Alfredo requested to merge SMS_Alfredo/SRB2:team-height into next

For some reason, when a player is added, their height gets set to MT_PLAYER's height. Not sure what the purpose of the code is, but it does exist. Now, normally this doesn't persist and instead gets overwritten by the player's actual height in-game. However, this never happens when entering the game via a Tag Team on the CSS, as seen in #1022, because the skin is actually set before the player is added. So I changed it to set the player's height to their current skin's height. In netgames, it will instead be set to Sonic's height as CL_ClearPlayer is called beforehand and resets your skin to zero. Hopefully this won't cause any desyncs.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading