fabiangreffrath / crispy-doom

Crispy Doom is a limit-removing enhanced-resolution Doom source port based on Chocolate Doom.
https://fabiangreffrath.github.io/crispy-homepage
GNU General Public License v2.0
807 stars 132 forks source link

Heretic & Hexen: keep cursor position after deleting a save game #1179

Closed JNechaevsky closed 9 months ago

JNechaevsky commented 9 months ago

This fixes small issue in Raven menu code when deleting a save game resets cursor position to last actual save (or first slot if no save was made). Small demonstration:

https://github.com/fabiangreffrath/crispy-doom/assets/21193394/bc6cb9f9-6fa3-4bd8-a78c-b6b99c91088a

I'm deleting 5, 2 and 3 slots (let's count from one, not from zero 🙂), and cursor is jumping to slot 1 after deleting. It behaves same way in Heretic, as menu system is almost identical.