1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-29 16:57:56 +00:00

added some missing guards

This commit is contained in:
Zeno Rogue
2021-02-07 20:42:09 +01:00
parent 1307790d46
commit e4fd468d8d
2 changed files with 6 additions and 0 deletions

2
vr.cpp
View File

@@ -1144,6 +1144,7 @@ EX void show_vr_demos() {
popScreenAll();
});
#if CAP_RUG
dialog::addItem("Hypersian Rug", 'c');
dialog::add_action([] {
if(rug::rugged) rug::close();
@@ -1165,6 +1166,7 @@ EX void show_vr_demos() {
rug::init();
popScreenAll();
});
#endif
dialog::addItem("sphere from the inside", 'd');
dialog::add_action([] {