mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-20 06:03:01 +00:00
tour:: with LEGAL::NONE, '1' and '2' keys do not work
This commit is contained in:
parent
7a887ac7c1
commit
35414a6ff6
4
tour.cpp
4
tour.cpp
@ -225,8 +225,8 @@ bool handleKeyTour(int sym, int uni) {
|
||||
if(inhelp) slidehelp();
|
||||
return true;
|
||||
}
|
||||
if(NUMBERKEY == '1' || NUMBERKEY == '2') {
|
||||
int legal = slides[currentslide].flags & 7;
|
||||
int legal = slides[currentslide].flags & 7;
|
||||
if((NUMBERKEY == '1' || NUMBERKEY == '2') && (legal != LEGAL::NONE)) {
|
||||
|
||||
if(legal == LEGAL::SPECIAL) {
|
||||
presentation(pmGeometrySpecial);
|
||||
|
Loading…
Reference in New Issue
Block a user