mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-07 07:50:32 +00:00
auto switch to model_viewing if vr-enabled
This commit is contained in:
parent
d09ffb37f0
commit
c6fcfe7f21
2
vr.cpp
2
vr.cpp
@ -1343,6 +1343,8 @@ int readArgs() {
|
|||||||
else if(argis("-vr-enabled")) {
|
else if(argis("-vr-enabled")) {
|
||||||
PHASEFROM(2);
|
PHASEFROM(2);
|
||||||
shift(); enabled = argi();
|
shift(); enabled = argi();
|
||||||
|
if(enabled && GDIM == 2 && among(hsm, eHeadset::holonomy, eHeadset::reference))
|
||||||
|
hsm = eHeadset::model_viewing;
|
||||||
}
|
}
|
||||||
else if(argis("-vr-absunit")) {
|
else if(argis("-vr-absunit")) {
|
||||||
PHASEFROM(2);
|
PHASEFROM(2);
|
||||||
|
Loading…
Reference in New Issue
Block a user