From 3e61178e6d78425fb6805cf6caf6de03d68f06d7 Mon Sep 17 00:00:00 2001 From: Allanis Date: Sat, 8 Mar 2014 01:20:17 +0000 Subject: [PATCH] [Fix] How has noone even noticed this bug?! It's been in there since.. forever. You can no longer open the information panel twise. --- TODO | 1 + src/menu.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 4c52db6..b570e3b 100644 --- a/TODO +++ b/TODO @@ -11,6 +11,7 @@ Major: -- Like mission system, but they accur naturally/randomly. -- Had similar power to mission system -- Unique pilot system (besides mission uniques). + -- Escorts available for hire. -- Nicer AI. -- Ship fleet movement (Maybe based on boids?) -- Options menu needs to do something. diff --git a/src/menu.c b/src/menu.c index 17f684b..73f2252 100644 --- a/src/menu.c +++ b/src/menu.c @@ -268,11 +268,12 @@ void menu_info(void) { char str[128]; char* lt; unsigned int wid; - wid = window_create("Info", -1, -1, INFO_WIDTH, INFO_HEIGHT); /* Can't open menu twise. */ if(menu_isOpen(MENU_INFO)) return; + wid = window_create("Info", -1, -1, INFO_WIDTH, INFO_HEIGHT); + /* Pilot generics. */ lt = ltime_pretty(ltime_get()); window_addText(wid, 20, 20, 120, INFO_HEIGHT-60,