Skip to content

Fix segfault when launching a dedicated server

Hanicef requested to merge Hanicef/SRB2: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