replace vrhr::state checking with nicer functions

This commit is contained in:
Zeno Rogue committed 2020-12-31 19:11:14 +01:00
1 parent 483ea3369b
commit e4e1a856e6
9 files changed
+57 -49

No files matched your search

+1 -1
View File
@@ -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