Needs parens, if (widgetIndex != WIDX_CONSTRUCT_RIDE) {