mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-21 21:40:19 +00:00
fixed a flag bug
This commit is contained in:
parent
0dd5ed1505
commit
5a183618db
@ -310,7 +310,7 @@ namespace dialog {
|
|||||||
}
|
}
|
||||||
else if(I.type == diItem || I.type == diBigItem) {
|
else if(I.type == diItem || I.type == diBigItem) {
|
||||||
bool xthis = (mousey >= top && mousey < tothei);
|
bool xthis = (mousey >= top && mousey < tothei);
|
||||||
if(cmode && sm::DIALOG_STRICT_X)
|
if(cmode & sm::DIALOG_STRICT_X)
|
||||||
xthis = xthis && (mousex >= dcenter - dialogwidth/2 && mousex <= dcenter + dialogwidth/2);
|
xthis = xthis && (mousex >= dcenter - dialogwidth/2 && mousex <= dcenter + dialogwidth/2);
|
||||||
#if ISMOBILE
|
#if ISMOBILE
|
||||||
if(xthis && mousepressed)
|
if(xthis && mousepressed)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user