1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-25 15:39:09 +00:00

(svn r13514) -Codechange: Removal of dead code (or useless, to be more exact)

This commit is contained in:
belugas
2008-06-14 01:45:58 +00:00
parent bcb71a011e
commit 8cbb17384d

View File

@@ -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.