mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
Fixes one of the issues of #121 but 526 cannot be easily fixed
This commit is contained in:
@@ -193,4 +193,4 @@
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
@@ -629,7 +629,6 @@ static void input_leftmousedown(int x, int y, rct_window *w, int widgetIndex)
|
||||
if (w != NULL) {
|
||||
windowClass = w->classification;
|
||||
windowNumber = w->number;
|
||||
widget = &w->widgets[widgetIndex];
|
||||
}
|
||||
|
||||
window_close_by_id(WC_ERROR, 0);
|
||||
@@ -643,6 +642,8 @@ static void input_leftmousedown(int x, int y, rct_window *w, int widgetIndex)
|
||||
if (widgetIndex == -1)
|
||||
return;
|
||||
|
||||
widget = &w->widgets[widgetIndex];
|
||||
|
||||
switch (widget->type) {
|
||||
case WWT_FRAME:
|
||||
case WWT_RESIZE:
|
||||
|
||||
Reference in New Issue
Block a user