mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-10-31 15:20:10 +00:00
Fix viewport sign invisibility check
This commit is contained in:
parent
68c0fd63dd
commit
57e4929137
@ -1914,7 +1914,7 @@ static void ViewportAddKdtreeSigns(ViewportDrawerDynamic *vdd, DrawPixelInfo *dp
|
||||
}
|
||||
|
||||
/* Do not draw signs nor station names if they are set invisible */
|
||||
if (IsInvisibilitySet(TO_SIGNS)) return;
|
||||
if (vdd->IsInvisibilitySet(TO_SIGNS)) return;
|
||||
|
||||
for (const auto *si : signs) {
|
||||
ViewportAddString(vdd, dpi, ZOOM_LVL_OUT_16X, &si->sign,
|
||||
|
Loading…
Reference in New Issue
Block a user