Setting window_limit below 4 can cause crash #5029

Open
Lastorder-DC opened this Issue Jan 10, 2017 · 1 comment

Projects

None yet

3 participants

@Lastorder-DC
Contributor
Lastorder-DC commented Jan 10, 2017 edited

OS: Windows 10
Version: 0.0.6
Commit/Build: 7c7b67f

Setting window_limit to 0(by editing config.ini) will cause immediate crash.
Setting window_limit to below 4(like 1) will cause crash when trying to open any window(new game, config window, etc)

  • Reproducible in RCT2 (vanilla)?
  • Multiplayer?
@Lastorder-DC Lastorder-DC changed the title from Set window_limit below 4 can cause crash to Setting window_limit below 4 can cause crash Jan 10, 2017
@IntelOrca IntelOrca added the bug label Jan 10, 2017
@Nubbie
Contributor
Nubbie commented Jan 12, 2017 edited

Same happens if you overflow it with >256 of course
Check for that and return to default value?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment