From 2a0d0633f156fcb2f3fccb463e68fa4d0b23a41a Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Mon, 29 Aug 2022 23:42:36 +0300 Subject: [PATCH] Fix images for scroll buttons --- src/world_map.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/world_map.cc b/src/world_map.cc index b89a221..21076bb 100644 --- a/src/world_map.cc +++ b/src/world_map.cc @@ -5011,7 +5011,8 @@ int worldmapWindowInit() for (int index = 0; index < WORLDMAP_ARROW_FRM_COUNT; index++) { // 200 - uparwon.frm - character editor // 199 - uparwoff.frm - character editor - fid = buildFid(OBJ_TYPE_INTERFACE, 200 - index, 0, 0, 0); + // SFALL: Fix images for scroll buttons. + fid = buildFid(OBJ_TYPE_INTERFACE, 199 + index, 0, 0, 0); frm = artLock(fid, &(gWorldmapTownListScrollUpFrmHandle[index])); if (frm == NULL) { return -1; @@ -5025,7 +5026,8 @@ int worldmapWindowInit() for (int index = 0; index < WORLDMAP_ARROW_FRM_COUNT; index++) { // 182 - dnarwon.frm - character editor // 181 - dnarwoff.frm - character editor - fid = buildFid(OBJ_TYPE_INTERFACE, 182 - index, 0, 0, 0); + // SFALL: Fix images for scroll buttons. + fid = buildFid(OBJ_TYPE_INTERFACE, 181 + index, 0, 0, 0); frm = artLock(fid, &(gWorldmapTownListScrollDownFrmHandle[index])); if (frm == NULL) { return -1;