Close button on mission dialog.
This commit is contained in:
parent
e84e5f171a
commit
fb3b866808
|
@ -127,6 +127,7 @@ void initGalacticMap(void)
|
||||||
|
|
||||||
initBackground();
|
initBackground();
|
||||||
|
|
||||||
|
getWidget("close", "starSystem")->action = resume;
|
||||||
startMissionButton = getWidget("startMission", "starSystem");
|
startMissionButton = getWidget("startMission", "starSystem");
|
||||||
startMissionButton->action = startMission;
|
startMissionButton->action = startMission;
|
||||||
|
|
||||||
|
@ -762,6 +763,7 @@ static void handleMouse(void)
|
||||||
{
|
{
|
||||||
scrollingMap = 0;
|
scrollingMap = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
setMouseCursor(app.mouse.button[SDL_BUTTON_LEFT] && show == SHOW_GALAXY);
|
setMouseCursor(app.mouse.button[SDL_BUTTON_LEFT] && show == SHOW_GALAXY);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue