From a2d61dc7c4213d3535c3dd3f6602baf0ba458db9 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Sun, 23 Jul 2023 10:23:55 +0300 Subject: [PATCH] Add bookmarkHide --- src/mapper/mapper.cc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mapper/mapper.cc b/src/mapper/mapper.cc index 24d3fe3..97c9b42 100644 --- a/src/mapper/mapper.cc +++ b/src/mapper/mapper.cc @@ -17,6 +17,7 @@ namespace fallout { +static void bookmarkHide(); static void bookmarkUnHide(); static int categoryInit(); static int categoryExit(); @@ -48,6 +49,14 @@ unsigned char* tool; // 0x6EC4AC int tool_win; +// 0x4875E0 +void bookmarkHide() +{ + if (bookmarkWin != -1) { + windowHide(bookmarkWin); + } +} + // 0x4875F8 void bookmarkUnHide() {