Skip to content
Snippets Groups Projects

Fix character select menu freeze due to smaller then required loop variables

Merged NepDisk requested to merge NepDisk/RingRacers:fixcharmenulockup into master

This merge request fixes #304 (closed).

In M_CharacterSelectInit inside play-char-select.c there are two variables i and j with the datatype UINT8(255). UINT8 ends up being too small since MAXFOLLOWERS is 1024 and causes the game to lock up in a loop during character menu initialization. To fix this the datatypes for i and j have been made UINT16 so that follower amounts greater then 255 will work.

Edited by NepDisk

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