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/tree_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/tree_gui.cpp')
-rw-r--r-- | src/tree_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tree_gui.cpp b/src/tree_gui.cpp index 971961049..b317cecd9 100644 --- a/src/tree_gui.cpp +++ b/src/tree_gui.cpp @@ -102,13 +102,13 @@ public: case BTW_TYPE_31: case BTW_TYPE_32: case BTW_TYPE_33: case BTW_TYPE_34: if (widget - BTW_TYPE_11 >= this->count) break; - if (HandlePlacePushButton(this, widget, SPR_CURSOR_TREE, VHM_RECT, NULL)) { + if (HandlePlacePushButton(this, widget, SPR_CURSOR_TREE, HT_RECT, NULL)) { this->tree_to_plant = this->base + widget - BTW_TYPE_11; } break; case BTW_TYPE_RANDOM: // tree of random type. - if (HandlePlacePushButton(this, BTW_TYPE_RANDOM, SPR_CURSOR_TREE, VHM_RECT, NULL)) { + if (HandlePlacePushButton(this, BTW_TYPE_RANDOM, SPR_CURSOR_TREE, HT_RECT, NULL)) { this->tree_to_plant = UINT_MAX; } break; |