(svn r3361) - Clone Vehicle: Disallow cloning of crashed rail vehicles after starting removal process.
--- a/vehicle.c Mon Jan 02 22:40:39 2006 +0000
+++ b/vehicle.c Wed Jan 04 16:53:00 2006 +0000
@@ -1508,7 +1508,7 @@
if (!CheckOwnership(v->owner)) return CMD_ERROR;
- if (v->type == VEH_Train && !IsFrontEngine(v)) return CMD_ERROR;
+ if (v->type == VEH_Train && (!IsFrontEngine(v) || v->u.rail.crash_anim_pos >= 4400)) return CMD_ERROR;
// check that we can allocate enough vehicles
if (!(flags & DC_EXEC)) {