From 5eccb1ed1c484011cd4c9945c309672bd04178c3 Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Sat, 19 Dec 2015 23:03:40 +0300 Subject: [PATCH] Fix find-offsets for cur_year_tick on windows. The old reference moved far away, so switch to a new one. --- scripts/devel/find-offsets.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/devel/find-offsets.lua b/scripts/devel/find-offsets.lua index 17bc4f6f9..eb00c9d4a 100644 --- a/scripts/devel/find-offsets.lua +++ b/scripts/devel/find-offsets.lua @@ -1327,7 +1327,7 @@ end local function find_cur_year_tick() local zone if os_type == 'windows' then - zone = zoomed_searcher('artifact_next_id', -32) + zone = zoomed_searcher('ui_unit_view_mode', 0x200) else zone = zoomed_searcher('cur_year', 128) end