diff options
author | tron <tron@openttd.org> | 2005-12-14 06:49:54 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-12-14 06:49:54 +0000 |
commit | cc2b51320f3d375a6ac46e0a5d3c591c5c2b507f (patch) | |
tree | 972006aad5b68897701bdfbe942f6f5af09a89f0 /aircraft_gui.c | |
parent | 4634243110ae363594dddbb3c291b4693360b777 (diff) | |
download | openttd-cc2b51320f3d375a6ac46e0a5d3c591c5c2b507f.tar.xz |
(svn r3300) Remove unreachable code - in this case some duplicate breaks
Diffstat (limited to 'aircraft_gui.c')
-rw-r--r-- | aircraft_gui.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c index 740b84528..1e071caab 100644 --- a/aircraft_gui.c +++ b/aircraft_gui.c @@ -833,7 +833,7 @@ static void AircraftDepotWndProc(Window *w, WindowEvent *e) DeleteWindowById(WC_BUILD_VEHICLE, w->window_number); break; - case WE_DRAGDROP: { + case WE_DRAGDROP: switch(e->click.widget) { case 5: { Vehicle *v; @@ -871,8 +871,6 @@ static void AircraftDepotWndProc(Window *w, WindowEvent *e) SetWindowDirty(w); } break; - } - break; case WE_RESIZE: w->vscroll.cap += e->sizing.diff.y / 24; |