forked from rosebudai/OpenRCT2-Web
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:
1 parent
00d8b2c463
commit
3977865089
1 file changed
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user