mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 08:45:00 +01:00
Fix wrong #define checks for DEBUG macro
This commit is contained in:
@@ -976,7 +976,7 @@ void widget_invalidate(rct_window *w, sint32 widgetIndex)
|
||||
rct_widget* widget;
|
||||
|
||||
assert(w != NULL);
|
||||
#if DEBUG
|
||||
#ifdef DEBUG
|
||||
for (sint32 i = 0; i <= widgetIndex; i++) {
|
||||
assert(w->widgets[i].type != WWT_LAST);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user