summaryrefslogtreecommitdiff
path: root/src/toolbar_gui.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-06-14 01:45:58 +0000
committerbelugas <belugas@openttd.org>2008-06-14 01:45:58 +0000
commitcec90c1af1ba6a556cca02d43c12bf76638c2533 (patch)
treee5e0fe06a1bf6268b0a503687fda316562d29c87 /src/toolbar_gui.cpp
parenta91eb2ad13eedecb5886bc0c76f5b54532df8bea (diff)
downloadopenttd-cec90c1af1ba6a556cca02d43c12bf76638c2533.tar.xz
(svn r13514) -Codechange: Removal of dead code (or useless, to be more exact)
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r--src/toolbar_gui.cpp12
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.