1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

ors:: fixed a crash when enabling spherical VR

This commit is contained in:
Zeno Rogue 2019-06-28 09:54:28 +02:00
parent 07058956ba
commit 93813f4cf1

View File

@ -1116,7 +1116,7 @@ void show() {
dialog::addItem(XLAT("spherical VR"), 'v');
dialog::add_action([] () {
if(!sphere) set_geometry(gSphere);
if(!sphere) set_geometry(gSphere), start_game();
mode = 0; fullcenter();
mode = 2; sensitivity = 1;
vid.stereo_mode = sLR; vid.ipd = 0.2;