aboutsummaryrefslogtreecommitdiff
path: root/Source/Menu.c
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-05-24 07:15:38 +0200
committerXaviDCR92 <xavi.dcr@gmail.com>2017-05-24 07:15:38 +0200
commit8d2e08d7448e6c3514a747c0dff5db5f27eb8788 (patch)
treef34b60609315c450ccc5a4f3a65fb29877386ad4 /Source/Menu.c
parentaefe5f8c1c45f4cdeafe08113953a9f03df3c644 (diff)
downloadairport-8d2e08d7448e6c3514a747c0dff5db5f27eb8788.tar.gz
* Aircraft state was not being transferred ciclically from Game to Aircraft module.
* Improved detection of target reaching for Aircraft.c. * Cursor is now displayed correctly on both 1-player and 2-player mode. * Fixed behaviour for locking/unlocking aircraft. * Fixed menus for 2-player mode. * Minor fixes and improvements.
Diffstat (limited to 'Source/Menu.c')
-rw-r--r--Source/Menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Menu.c b/Source/Menu.c
index 0a922c4..da69137 100644
--- a/Source/Menu.c
+++ b/Source/Menu.c
@@ -320,6 +320,8 @@ void MainMenuRestoreInitValues(void)
MainMenuBtn[TWO_PLAYER_BUTTON_INDEX].selected = false;
MainMenuBtn[TWO_PLAYER_BUTTON_INDEX].was_selected = false;
MainMenuBtn[TWO_PLAYER_BUTTON_INDEX].timer = 0;
+
+ GfxSetGlobalLuminance(NORMAL_LUMINANCE);
}
void MainMenuButtonHandler(void)