Crashes on resize


Resize the console after leaving the menu and the game crashes as you go to the main game screen.
Closed Sep 14, 2013 at 7:46 PM by asads2012
Reset scroll bars before resize.


asads2012 wrote Jul 16, 2013 at 9:36 AM

This was caused by the re-size being called twice and equal values causing the crash.
removing = sign in the logic from setconsolesize in the console specific should solve the crash however the display is messed up.
Also adding the setconsolesize command to the consolescreen class would mean each screen resets it size.
Feel free to work on this as I won't be committing anything for a few weeks.

atk wrote Jul 22, 2013 at 11:57 PM

I added a hotfix to keep it from crashing, but I'm sure there's better alternatives. Plus the draw goes crazy if you resize from a menu option or on a different screen.

wrote Sep 14, 2013 at 7:46 PM