diff --git a/src/mapper/mapper.cc b/src/mapper/mapper.cc index 65af3cf..a33d59a 100644 --- a/src/mapper/mapper.cc +++ b/src/mapper/mapper.cc @@ -17,6 +17,7 @@ namespace fallout { +static int categoryExit(); static int categoryHide(); static int categoryToggleState(); static int categoryUnhide(); @@ -42,6 +43,19 @@ unsigned char* tool; // 0x6EC4AC int tool_win; +// 0x487700 +int categoryExit() +{ + if (categoryWin == -1) { + return -1; + } + + windowDestroy(categoryWin); + categoryWin = -1; + + return 0; +} + // 0x487728 int categoryHide() {