mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-31 03:14:57 +00:00
ray:: volumetric cheat prevention
This commit is contained in:
parent
1774f59462
commit
7bed07e7b4
@ -1442,6 +1442,14 @@ EX void menu() {
|
|||||||
gamescreen(0);
|
gamescreen(0);
|
||||||
dialog::init(XLAT("volumetric raycasting"));
|
dialog::init(XLAT("volumetric raycasting"));
|
||||||
|
|
||||||
|
if(!cheater) {
|
||||||
|
dialog::addItem(XLAT("enable the cheat mode for additional options"), 'X');
|
||||||
|
dialog::add_action(enable_cheat);
|
||||||
|
dialog::addBack();
|
||||||
|
dialog::display();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
dialog::addBoolItem(XLAT("active"), on, 'a');
|
dialog::addBoolItem(XLAT("active"), on, 'a');
|
||||||
dialog::add_action([&] {
|
dialog::add_action([&] {
|
||||||
on = !on;
|
on = !on;
|
||||||
|
Loading…
Reference in New Issue
Block a user