1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-31 14:02:59 +00:00

Hypersian Rug forbidden when using 3D engine

This commit is contained in:
Zeno Rogue
2019-05-13 12:59:49 +02:00
parent 175c061ab4
commit 21f801d691
3 changed files with 6 additions and 4 deletions

View File

@@ -216,7 +216,7 @@ void showTorusConfig() {
dialog::addSelItem(XLAT("scale factor"), fts(vid.scale), 'z');
#if CAP_RUG
dialog::addBoolItem(XLAT("hypersian rug mode"), (rug::rugged), 'u');
if(DIM == 2) dialog::addBoolItem(XLAT("hypersian rug mode"), (rug::rugged), 'u');
#endif
dialog::addItem("activate", 'a');
@@ -256,7 +256,7 @@ void showTorusConfig() {
});
else if(uni == 'z') editScale();
#if CAP_RUG
else if(uni == 'u') rug::select();
else if(uni == 'u' && DIM == 2) rug::select();
#endif
else if(doexiton(sym, uni))
popScreen();