mirror of https://github.com/OpenTTD/OpenTTD
parent
b53d79b1d2
commit
253ba0d354
|
@ -441,6 +441,8 @@ public:
|
||||||
|
|
||||||
if (_selected_object_index != -1) {
|
if (_selected_object_index != -1) {
|
||||||
SetObjectToPlaceWnd(SPR_CURSOR_TRANSMITTER, PAL_NONE, HT_RECT | HT_DIAGONAL, this);
|
SetObjectToPlaceWnd(SPR_CURSOR_TRANSMITTER, PAL_NONE, HT_RECT | HT_DIAGONAL, this);
|
||||||
|
} else {
|
||||||
|
ResetObjectToPlace();
|
||||||
}
|
}
|
||||||
|
|
||||||
this->UpdateButtons(_selected_object_class, _selected_object_index, _selected_object_view);
|
this->UpdateButtons(_selected_object_class, _selected_object_index, _selected_object_view);
|
||||||
|
|
Loading…
Reference in New Issue