From fd8c9d9b4444d53c30087063470a2e24db81cd1b Mon Sep 17 00:00:00 2001 From: lethosor Date: Sat, 26 Mar 2016 11:09:45 -0400 Subject: [PATCH] fix find-offsets gps fallback scan --- 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 5add25e4d..74ffc690f 100644 --- a/scripts/devel/find-offsets.lua +++ b/scripts/devel/find-offsets.lua @@ -582,7 +582,7 @@ local function find_gps() local idx, addr = zone.area.int32_t:find_one{w, h, -1, -1} if not idx then - idx, addr = data.int32_t.find_one{w, h, -1, -1} + idx, addr = data.int32_t:find_one{w, h, -1, -1} end if idx then validate_offset('gps', is_valid_gps, addr, df.graphic, 'dimx')