Skip to content
Snippets Groups Projects

Update skin cvar from character select and compare against cvar when warping without a loaded file (resolves #1267, #1117, #1114, #1112)

Merged candelavla requested to merge pastel/SRB2:skinvarstuff into next
1 unresolved thread

Similar to !2156 (closed) but reimplemented in a way that also fixes #1267 (closed)

This fixes the following three regressions:

  1. Warping to a map from the title screen set your skin to Sonic
  2. Using the ingame level select set your skin to Sonic
  3. It was impossible to switch to Sonic via devmode when in single player without manually changing the cvar first

I've tested forceskin in multiplayer and it still behaves as !2100 (merged) intended.

Edited by candelavla

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
983 983 emeralds = 0;
984 984 memset(&luabanks, 0, sizeof(luabanks));
985 985 lastmaploaded = 0;
986 pickedchar = R_SkinAvailable(cv_defaultskin.string);
  • candelavla added 1 commit

    added 1 commit

    • e2e879a7 - handle file loading correctly

    Compare with previous version

  • candelavla changed title from Update skin cvar from character select and compare against cvar when warping without character select (resolves #1267 (closed), #1117 (closed), #1114 (closed), #1112 (closed)) to Update skin cvar from character select and compare against cvar when warping without a loaded file (resolves #1267 (closed), #1117 (closed), #1114 (closed), #1112 (closed))

    changed title from Update skin cvar from character select and compare against cvar when warping without character select (resolves #1267 (closed), #1117 (closed), #1114 (closed), #1112 (closed)) to Update skin cvar from character select and compare against cvar when warping without a loaded file (resolves #1267 (closed), #1117 (closed), #1114 (closed), #1112 (closed))

  • sphere changed milestone to %2.2.14

    changed milestone to %2.2.14

  • added Bug Regression labels

  • sphere approved this merge request

    approved this merge request

  • merged

  • sphere mentioned in commit 6d68091f

    mentioned in commit 6d68091f

  • SMS Alfredo mentioned in merge request !2156 (closed)

    mentioned in merge request !2156 (closed)

  • Please register or sign in to reply
    Loading