mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-09-21 03:09:36 +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();
|
if(inhelp) slidehelp();
|
||||||
return true;
|
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) {
|
if(legal == LEGAL::SPECIAL) {
|
||||||
presentation(pmGeometrySpecial);
|
presentation(pmGeometrySpecial);
|
||||||
|
Loading…
Reference in New Issue
Block a user