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 /ship_gui.c | |
parent | 4634243110ae363594dddbb3c291b4693360b777 (diff) | |
download | openttd-cc2b51320f3d375a6ac46e0a5d3c591c5c2b507f.tar.xz |
(svn r3300) Remove unreachable code - in this case some duplicate breaks
Diffstat (limited to 'ship_gui.c')
-rw-r--r-- | ship_gui.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ship_gui.c b/ship_gui.c index 7abfd96cf..c52c5165a 100644 --- a/ship_gui.c +++ b/ship_gui.c @@ -816,7 +816,7 @@ static void ShipDepotWndProc(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; @@ -854,8 +854,6 @@ static void ShipDepotWndProc(Window* w, WindowEvent* e) SetWindowDirty(w); } break; - } - break; case WE_RESIZE: w->vscroll.cap += e->sizing.diff.y / 24; |