--- a/aircraft_cmd.c Mon Jan 24 21:51:06 2005 +0000
+++ b/aircraft_cmd.c Mon Jan 24 22:09:20 2005 +0000
@@ -946,11 +946,13 @@
st = GetStation(v->u.air.targetairport);
// make aircraft crash down to the ground
- if ( st->airport_tile==0 && ((v->u.air.crashed_counter % 3) == 0) ) {
- z = GetSlopeZ(v->x_pos, v->y_pos) + 1;
+ if (v->u.air.crashed_counter < 500 && st->airport_tile==0 && ((v->u.air.crashed_counter % 3) == 0) ) {
+ z = GetSlopeZ(v->x_pos, v->y_pos);
v->z_pos -= 1;
- if (v->z_pos < z)
- DoDeleteAircraft(v);
+ if (v->z_pos == z) {
+ v->u.air.crashed_counter = 500;
+ v->z_pos++;
+ }
}
if (v->u.air.crashed_counter < 650) {