From 1d79a7610de97d0b0db4477eccc3f595093f5321 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Fri, 28 Feb 2020 23:10:23 +0000 Subject: [PATCH] Increase width of signal state change viewport invalidation area --- src/rail_cmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index f8919fe775..9534f8403e 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -2407,8 +2407,8 @@ static void GetSignalXY(TileIndex tile, uint pos, uint &x, uint &y) static bool _signal_sprite_oversized = false; -static const int SIGNAL_DIRTY_LEFT = 7 * ZOOM_LVL_BASE; -static const int SIGNAL_DIRTY_RIGHT = 7 * ZOOM_LVL_BASE; +static const int SIGNAL_DIRTY_LEFT = 14 * ZOOM_LVL_BASE; +static const int SIGNAL_DIRTY_RIGHT = 14 * ZOOM_LVL_BASE; static const int SIGNAL_DIRTY_TOP = 30 * ZOOM_LVL_BASE; static const int SIGNAL_DIRTY_BOTTOM = 5 * ZOOM_LVL_BASE;