From: Holger Schemel Date: Sun, 18 Oct 2020 23:18:46 +0000 (+0200) Subject: changed mapping gadgets when drawing screen to choose from tree X-Git-Tag: 4.2.1.0~34 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=4f61e86f982fc044d2a99477be188374ec763275;p=rocksndiamonds.git changed mapping gadgets when drawing screen to choose from tree This change allows for checking existence and position of scroll bar when drawing screen to choose item from tree structure. --- diff --git a/src/screens.c b/src/screens.c index e7e901d6..dab2b131 100644 --- a/src/screens.c +++ b/src/screens.c @@ -4182,8 +4182,8 @@ static void DrawChooseTree(TreeInfo **ti_ptr) OpenDoor(GetDoorState() | DOOR_NO_DELAY | DOOR_FORCE_REDRAW); - HandleChooseTree(0, 0, 0, 0, MB_MENU_INITIALIZE, ti_ptr); MapScreenTreeGadgets(*ti_ptr); + HandleChooseTree(0, 0, 0, 0, MB_MENU_INITIALIZE, ti_ptr); DrawMaskedBorder(fade_mask);