From a162575bc4a0322eb36cd686bf554a291163d2b9 Mon Sep 17 00:00:00 2001 From: smariot Date: Sun, 18 May 2008 18:17:06 -0400 Subject: [PATCH] Added a small gap between the watched objectives and the automatically added objectives. --- tracker.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tracker.lua b/tracker.lua index f5d304b..6b07f46 100644 --- a/tracker.lua +++ b/tracker.lua @@ -378,6 +378,7 @@ local function addobj(objective, seen, obj_index_lookup, filter, x, y, gap) local w, h = addItem(qname(name, level), quest, -(y+gap), name) x = math.max(x, w) y = y + h + gap + gap = 2 for obj in pairs(quest.swap_after or quest.after) do if obj_index_lookup[obj] then @@ -551,6 +552,9 @@ function tracker:update(delta) added = added + count end + -- Add an extra large gap to seperate the watched objectives from the automatic objectives. + gap = gap * 5 + -- Add Quests that aren't watched and are in the route. if added <= track_size then for i, objective in ipairs(QuestHelper.route) do -- 2.11.4.GIT