1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 18:37:39 +00:00

shmup::vr:: shmup/racing controls for vr

This commit is contained in:
Zeno Rogue
2020-12-31 18:34:00 +01:00
parent 726c2fc871
commit 79bf71ce78
2 changed files with 17 additions and 1 deletions

View File

@@ -800,7 +800,7 @@ EX void mainloopiter() {
DEBB(DF_GRAPH, ("polling for events\n"));
#if CAP_VR
if(vrhr::active()) {
if(vrhr::active() && !shmup::on) {
static int lastticks = ticks;
ld t = (ticks - lastticks) * shiftmul / 400;
lastticks = ticks;