diff options
author | rubidium <rubidium@openttd.org> | 2009-04-19 10:31:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-04-19 10:31:30 +0000 |
commit | 329cabab4fe4b963c1b928740e0d9f38f7e63b01 (patch) | |
tree | a601e141ae386f6a3a400c146dc605dcb03c20d3 /src/company_gui.cpp | |
parent | 2a2b40461d478406aef9d12093e07ed8ae5b987f (diff) | |
download | openttd-329cabab4fe4b963c1b928740e0d9f38f7e63b01.tar.xz |
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
Diffstat (limited to 'src/company_gui.cpp')
-rw-r--r-- | src/company_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/company_gui.cpp b/src/company_gui.cpp index 1464927e8..31850c055 100644 --- a/src/company_gui.cpp +++ b/src/company_gui.cpp @@ -1616,7 +1616,7 @@ struct CompanyWindow : Window TileIndex tile = GetCompany((CompanyID)this->window_number)->location_of_HQ; if (tile == INVALID_TILE) { if ((byte)this->window_number != _local_company) return; - SetObjectToPlaceWnd(SPR_CURSOR_HQ, PAL_NONE, VHM_RECT, this); + SetObjectToPlaceWnd(SPR_CURSOR_HQ, PAL_NONE, HT_RECT, this); SetTileSelectSize(2, 2); this->LowerWidget(CW_WIDGET_BUILD_VIEW_HQ); this->InvalidateWidget(CW_WIDGET_BUILD_VIEW_HQ); @@ -1631,7 +1631,7 @@ struct CompanyWindow : Window } case CW_WIDGET_RELOCATE_HQ: - SetObjectToPlaceWnd(SPR_CURSOR_HQ, PAL_NONE, VHM_RECT, this); + SetObjectToPlaceWnd(SPR_CURSOR_HQ, PAL_NONE, HT_RECT, this); SetTileSelectSize(2, 2); this->LowerWidget(CW_WIDGET_RELOCATE_HQ); this->InvalidateWidget(CW_WIDGET_RELOCATE_HQ); |