diff options
author | belugas <belugas@openttd.org> | 2008-06-14 01:45:58 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-06-14 01:45:58 +0000 |
commit | cec90c1af1ba6a556cca02d43c12bf76638c2533 (patch) | |
tree | e5e0fe06a1bf6268b0a503687fda316562d29c87 /src | |
parent | a91eb2ad13eedecb5886bc0c76f5b54532df8bea (diff) | |
download | openttd-cec90c1af1ba6a556cca02d43c12bf76638c2533.tar.xz |
(svn r13514) -Codechange: Removal of dead code (or useless, to be more exact)
Diffstat (limited to 'src')
-rw-r--r-- | src/toolbar_gui.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index bd8df7d5d..1bccad3c1 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -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. |