[Fix] How has noone even noticed this bug?! It's been in there since..
forever. You can no longer open the information panel twise.
This commit is contained in:
parent
79aaac64ad
commit
3e61178e6d
1
TODO
1
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.
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user