summaryrefslogtreecommitdiff
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
commit8cbb17384d7db135552b8bb0e4e06b918ffa91a0 (patch)
treee5e0fe06a1bf6268b0a503687fda316562d29c87
parentbcb71a011e229b9a20653c04610c6a455e1e73f5 (diff)
downloadopenttd-8cbb17384d7db135552b8bb0e4e06b918ffa91a0.tar.xz
(svn r13514) -Codechange: Removal of dead code (or useless, to be more exact)
-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.