From fb3b866808d77934107d537ebe3eb540c161097e Mon Sep 17 00:00:00 2001 From: Steve Date: Fri, 26 May 2017 07:47:51 +0100 Subject: [PATCH] Close button on mission dialog. --- src/galaxy/galacticMap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/galaxy/galacticMap.c b/src/galaxy/galacticMap.c index 7063527..dfe64dc 100644 --- a/src/galaxy/galacticMap.c +++ b/src/galaxy/galacticMap.c @@ -127,6 +127,7 @@ void initGalacticMap(void) initBackground(); + getWidget("close", "starSystem")->action = resume; startMissionButton = getWidget("startMission", "starSystem"); startMissionButton->action = startMission; @@ -762,6 +763,7 @@ static void handleMouse(void) { scrollingMap = 0; } + setMouseCursor(app.mouse.button[SDL_BUTTON_LEFT] && show == SHOW_GALAXY); }