diff options
author | Erich Eckner <git@eckner.net> | 2021-10-04 23:44:21 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-10-05 06:04:36 +0200 |
commit | 0e9a9c2fe804ffaba551f4512f14bd73dd21a02c (patch) | |
tree | 94d0c1c185413613c6aaf74d590c53b70a4e1e7f /openttd-git/chunnel-pre.patch | |
parent | f779d61f16241d8bab3d5ad07a5361ded95c8233 (diff) | |
download | archlinuxewe-0e9a9c2fe804ffaba551f4512f14bd73dd21a02c.tar.xz |
openttd-git: 31229.7a48b5597-1 -> 31244.d2bc32e94-1
Diffstat (limited to 'openttd-git/chunnel-pre.patch')
-rw-r--r-- | openttd-git/chunnel-pre.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/openttd-git/chunnel-pre.patch b/openttd-git/chunnel-pre.patch new file mode 100644 index 000000000..9b42f5a93 --- /dev/null +++ b/openttd-git/chunnel-pre.patch @@ -0,0 +1,12 @@ +diff --git a/openttd-git/chunnel.patch b/openttd-git/chunnel.patch +index 33ab7405..6ad137ae 100644 +--- a/openttd-git/chunnel.patch ++++ b/openttd-git/chunnel.patch +@@ -1018,6 +1018,7 @@ index e014944a9f..cb6239f597 100644 + 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 && |