1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Fix original windows crashing

Due to the change in WWT_LAST assignment any windows that were not finished would access invalid memory and kick up a fuss causing #1249.
This commit is contained in:
Duncan Frost
2015-06-07 08:40:55 +01:00
parent 00d8b2c463
commit 3977865089

View File

@@ -50,8 +50,8 @@ typedef enum {
WWT_CHECKBOX = 23,
WWT_24,
WWT_25,
WWT_TEXT_BOX = 26,
WWT_LAST = 27,
WWT_TEXT_BOX = 27,
WWT_LAST = 26,
} WINDOW_WIDGET_TYPES;
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0