Add tool type to _thd when placing objects
This commit is contained in:
+2
-2
@@ -2617,7 +2617,7 @@ struct CompanyWindow : Window
|
||||
this->RaiseButtons();
|
||||
break;
|
||||
}
|
||||
SetObjectToPlaceWnd(SPR_CURSOR_HQ, PAL_NONE, HT_RECT, this);
|
||||
SetObjectToPlaceWnd(SPR_CURSOR_HQ, PAL_NONE, HT_RECT, this, CM_DDSP_BUILD_HQ);
|
||||
SetTileSelectSize(2, 2);
|
||||
this->LowerWidget(WID_C_BUILD_HQ);
|
||||
this->SetWidgetDirty(WID_C_BUILD_HQ);
|
||||
@@ -2629,7 +2629,7 @@ struct CompanyWindow : Window
|
||||
this->RaiseButtons();
|
||||
break;
|
||||
}
|
||||
SetObjectToPlaceWnd(SPR_CURSOR_HQ, PAL_NONE, HT_RECT, this);
|
||||
SetObjectToPlaceWnd(SPR_CURSOR_HQ, PAL_NONE, HT_RECT, this, CM_DDSP_BUILD_HQ);
|
||||
SetTileSelectSize(2, 2);
|
||||
this->LowerWidget(WID_C_RELOCATE_HQ);
|
||||
this->SetWidgetDirty(WID_C_RELOCATE_HQ);
|
||||
|
||||
Reference in New Issue
Block a user