mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-26 10:00:42 +00:00
bringris:: fix quit
This commit is contained in:
parent
22947c7fd1
commit
debdcae057
@ -1625,7 +1625,10 @@ void run() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog::handleNavigation(sym, uni);
|
dialog::handleNavigation(sym, uni);
|
||||||
if(in_menu && sym == 'q' && !ISWEB) quitmainloop = true;
|
if(in_menu && sym == 'q' && !ISWEB) {
|
||||||
|
in_bringris = false;
|
||||||
|
quitmainloop = true;
|
||||||
|
}
|
||||||
if(sym == '-') {
|
if(sym == '-') {
|
||||||
if(!which_pointer) {
|
if(!which_pointer) {
|
||||||
int ax = mousex * 3 / xstart;
|
int ax = mousex * 3 / xstart;
|
||||||
@ -1990,12 +1993,12 @@ void create_game() {
|
|||||||
local_parameter_set lps_bringris("bringris:");
|
local_parameter_set lps_bringris("bringris:");
|
||||||
|
|
||||||
void init_all() {
|
void init_all() {
|
||||||
|
lps_enable(&lps_bringris);
|
||||||
enable_bgeom();
|
enable_bgeom();
|
||||||
vid.texture_step = 8;
|
vid.texture_step = 8;
|
||||||
showstartmenu = false;
|
showstartmenu = false;
|
||||||
pushScreen(run);
|
pushScreen(run);
|
||||||
in_bringris = true;
|
in_bringris = true;
|
||||||
lps_enable(&lps_bringris);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int args() {
|
int args() {
|
||||||
|
Loading…
Reference in New Issue
Block a user