diff options
author | Erich Eckner <git@eckner.net> | 2022-02-27 09:29:15 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-02-27 09:49:56 +0100 |
commit | 9109ea8eefa791688066eb3cda857eeb706a2e54 (patch) | |
tree | 989a3ce83c6cb6f4bc24456a8b59a2afe00e7c5b /openttd-git/chunnel-underground-pre.patch | |
parent | 56aca79487c0f287dcd5bed3bf7ffc563a3d74ce (diff) | |
download | archlinuxewe-9109ea8eefa791688066eb3cda857eeb706a2e54.tar.xz |
openttd-git: 31316.802ca4e72-4 -> 31416.1c256a4be-1
Diffstat (limited to 'openttd-git/chunnel-underground-pre.patch')
-rw-r--r-- | openttd-git/chunnel-underground-pre.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/openttd-git/chunnel-underground-pre.patch b/openttd-git/chunnel-underground-pre.patch deleted file mode 100644 index 4a055d66d..000000000 --- a/openttd-git/chunnel-underground-pre.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/chunnel.pre.patch 2021-01-03 22:30:58.721115549 +0100 -+++ b/chunnel.pre.patch 2021-01-03 22:30:58.721115549 +0100 -@@ -790,7 +790,7 @@ - Slope end_tileh; - for (;;) { - @@ -672,13 +675,69 @@ CommandCost CmdBuildTunnel(TileIndex start_tile, DoCommandFlag flags, uint32 p1, -- if (!IsValidTile(end_tile)) return_cmd_error(STR_ERROR_TUNNEL_THROUGH_MAP_BORDER); -+ - end_tileh = GetTileSlope(end_tile, &end_z); - - - if (start_z == end_z) break; -@@ -1015,9 +1015,9 @@ - if (v->type == VEH_EFFECT) { - /* Check whether the vehicle shall be transparent/invisible due to GUI settings. - @@ -1139,7 +1147,7 @@ void ViewportAddVehicles(DrawPixelInfo *dpi) -- const Vehicle *v = _vehicle_viewport_hash[x + y]; // already masked & 0xFFF - - while (v != nullptr) { -+ if (LayerIndex(v->tile) == dpi->layer) - - if (!(v->vehstatus & VS_HIDDEN) && - + if (v->IsDrawn() && - l <= v->coord.right && |