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