1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-14 01:16:50 +00:00

auto switch to model_viewing if vr-enabled

This commit is contained in:
Zeno Rogue 2021-03-06 16:27:30 +01:00
parent d09ffb37f0
commit c6fcfe7f21

2
vr.cpp
View File

@ -1343,6 +1343,8 @@ int readArgs() {
else if(argis("-vr-enabled")) {
PHASEFROM(2);
shift(); enabled = argi();
if(enabled && GDIM == 2 && among(hsm, eHeadset::holonomy, eHeadset::reference))
hsm = eHeadset::model_viewing;
}
else if(argis("-vr-absunit")) {
PHASEFROM(2);