Skip to content
Snippets Groups Projects

Fix segfault when launching a dedicated server

Closed Hanicef requested to merge Hanicef/SRB2Classic:fix-dedicated-segfault into next

After !2100 (merged) was merged, the logic for setting skin color was moved into D_SRB2Main. This introduced an issue with the cv_defaultskin console variable since it's not registered on a dedicated server, which will cause it's string value to become NULL and thus trigger a segfault when it later tries to dereference it.

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
Please register or sign in to reply
Loading