mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-20 03:54:47 +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) {
|
||||
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);
|
||||
#if ISMOBILE
|
||||
if(xthis && mousepressed)
|
||||
|
Loading…
Reference in New Issue
Block a user