mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-01-08 12:29:04 +00:00
replace vrhr::state checking with nicer functions
This commit is contained in:
@@ -1913,7 +1913,7 @@ EX void show3D() {
|
||||
dialog::addItem(XLAT("stereo vision config"), 'e');
|
||||
|
||||
#if CAP_VR
|
||||
dialog::addBoolItem(XLAT("VR settings"), vrhr::state > 0, 'v');
|
||||
dialog::addBoolItem(XLAT("VR settings"), vrhr::active(), 'v');
|
||||
dialog::add_action_push(vrhr::show_vr_settings);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user