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:
2
vr.cpp
2
vr.cpp
@@ -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([] {
|
||||
|
Reference in New Issue
Block a user