mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
added imssing MAXMDIM guards in racing
This commit is contained in:
parent
51de394193
commit
a246e53d2c
@ -879,7 +879,7 @@ EX void showStartMenu() {
|
||||
pconf.scale = 998;
|
||||
}
|
||||
}
|
||||
#if CAP_RACING
|
||||
#if CAP_RACING && MAXMDIM >= 4
|
||||
else if(uni == 'r' - 96) {
|
||||
popScreenAll();
|
||||
resetModes();
|
||||
|
@ -1060,6 +1060,7 @@ void race_projection() {
|
||||
|
||||
bool alternate = false;
|
||||
|
||||
#if MAXMDIM >= 4
|
||||
EX void thurston_racing() {
|
||||
gamescreen(1);
|
||||
dialog::init(XLAT("racing in Thurston geometries"));
|
||||
@ -1112,6 +1113,7 @@ void race_projection() {
|
||||
dialog::addBack();
|
||||
dialog::display();
|
||||
}
|
||||
#endif
|
||||
|
||||
void raceconfigurer() {
|
||||
|
||||
@ -1199,8 +1201,10 @@ void race_projection() {
|
||||
});
|
||||
}
|
||||
|
||||
#if MAXMDIM >= 4
|
||||
dialog::addItem(XLAT("racing in Thurston geometries"), 'T');
|
||||
dialog::add_action_push(thurston_racing);
|
||||
#endif
|
||||
|
||||
dialog::addBack();
|
||||
dialog::display();
|
||||
|
Loading…
Reference in New Issue
Block a user