don't go to game when leaving menus when there's no game. doesn't actually

work properly, but I think that's a bug in the main client code.
This commit is contained in:
Bill Currie 2002-01-19 07:40:35 +00:00
parent b73851d5aa
commit 9181ddaa4c

View file

@ -368,8 +368,13 @@ Menu_Leave ()
if (menu) {
menu = menu->parent;
if (!menu) {
key_dest = key_game;
game_target = IMT_0;
if (con_data.force_commandline) {
key_dest = key_console;
game_target = IMT_CONSOLE;
} else {
key_dest = key_game;
game_target = IMT_0;
}
}
}
}