summaryrefslogtreecommitdiff
path: root/players.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-12-14 06:49:54 +0000
committertron <tron@openttd.org>2005-12-14 06:49:54 +0000
commitcc2b51320f3d375a6ac46e0a5d3c591c5c2b507f (patch)
tree972006aad5b68897701bdfbe942f6f5af09a89f0 /players.c
parent4634243110ae363594dddbb3c291b4693360b777 (diff)
downloadopenttd-cc2b51320f3d375a6ac46e0a5d3c591c5c2b507f.tar.xz
(svn r3300) Remove unreachable code - in this case some duplicate breaks
Diffstat (limited to 'players.c')
-rw-r--r--players.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/players.c b/players.c
index de26ff4ac..307b8db22 100644
--- a/players.c
+++ b/players.c
@@ -733,7 +733,8 @@ int32 CmdReplaceVehicle(int x, int y, uint32 flags, uint32 p1, uint32 p2)
} else {
return RemoveEngineReplacement(p, old_engine_type, flags);
}
- } break;
+ }
+
case 4:
if (flags & DC_EXEC) {
p->engine_renew = (bool)GB(p1, 15, 1);