mirror of https://github.com/OpenTTD/OpenTTD
(svn r13514) -Codechange: Removal of dead code (or useless, to be more exact)
parent
bcb71a011e
commit
8cbb17384d
|
@ -866,12 +866,6 @@ struct MainToolbarWindow : Window {
|
||||||
_place_proc(tile);
|
_place_proc(tile);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void OnPlaceObjectAbort()
|
|
||||||
{
|
|
||||||
this->RaiseWidget(25);
|
|
||||||
this->SetDirty();
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual void OnTick()
|
virtual void OnTick()
|
||||||
{
|
{
|
||||||
if (this->IsWidgetLowered(0) != !!_pause_game) {
|
if (this->IsWidgetLowered(0) != !!_pause_game) {
|
||||||
|
@ -1080,12 +1074,6 @@ public:
|
||||||
_place_proc(tile);
|
_place_proc(tile);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void OnPlaceObjectAbort()
|
|
||||||
{
|
|
||||||
this->RaiseWidget(25);
|
|
||||||
this->SetDirty();
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual void OnResize(Point new_size, Point delta)
|
virtual void OnResize(Point new_size, Point delta)
|
||||||
{
|
{
|
||||||
/* There are 15 buttons plus some spacings if the space allows it.
|
/* There are 15 buttons plus some spacings if the space allows it.
|
||||||
|
|
Loading…
Reference in New Issue