forked from mirror/OpenTTD
(svn r11234) -Fix [FS#1312]: the explosion vehicles were placed too far to the south.
This commit is contained in:
@@ -1261,8 +1261,8 @@ static void HandleCrashedAircraft(Vehicle *v)
|
|||||||
SetAircraftPosition(v, v->x_pos, v->y_pos, v->z_pos);
|
SetAircraftPosition(v, v->x_pos, v->y_pos, v->z_pos);
|
||||||
r = Random();
|
r = Random();
|
||||||
CreateEffectVehicleRel(v,
|
CreateEffectVehicleRel(v,
|
||||||
GB(r, 0, 4) + 4,
|
GB(r, 0, 4) - 4,
|
||||||
GB(r, 4, 4) + 4,
|
GB(r, 4, 4) - 4,
|
||||||
GB(r, 8, 4),
|
GB(r, 8, 4),
|
||||||
EV_EXPLOSION_SMALL);
|
EV_EXPLOSION_SMALL);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user