1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 23:50:27 +00:00

vr:: fixed rconf to rrconf, as it hit a definition

This commit is contained in:
Zeno Rogue 2021-01-31 15:28:36 +01:00
parent 9e9d136c60
commit 4c94cc793c

8
vr.cpp
View File

@ -1342,10 +1342,10 @@ void addconfig() {
addparamsaver(pconf.vr_zshift, "vr_zshift"); addparamsaver(pconf.vr_zshift, "vr_zshift");
addparamsaver(pconf.vr_angle, "vr_angle"); addparamsaver(pconf.vr_angle, "vr_angle");
auto& rconf = vid.rug_config; auto& rrconf = vid.rug_config;
addparamsaver(rconf.vr_scale_factor, "rug_vr_scale"); addparamsaver(rrconf.vr_scale_factor, "rug_vr_scale");
addparamsaver(rconf.vr_zshift, "rug_vr_shift"); addparamsaver(rrconf.vr_zshift, "rug_vr_shift");
addparamsaver(rconf.vr_angle, "rug_vr_angle"); addparamsaver(rrconf.vr_angle, "rug_vr_angle");
addparamsaver(vrhr::pointer_length, "vr_pointer_length"); addparamsaver(vrhr::pointer_length, "vr_pointer_length");
addparamsaver(vrhr::ui_depth, "vr_ui_depth"); addparamsaver(vrhr::ui_depth, "vr_ui_depth");