Skip to content
Snippets Groups Projects

Fix crash during debug when escaping pterabyte

Merged Hanicef requested to merge Hanicef/SRB2Classic:ptera-escape-bad-state into next

When compiled with DEBUGMODE=1, the game crashes when a player escapes a Pterabyte. This is because of a sanity check that makes sure that P_SetMobjState is not called on a player, which is was in this case. I don't know what effects this has on a release build, but since P_SetMobjState shouldn't be called on a player, I'd say it's better to just fix 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