mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01:00
Glitchless: Disable R key
This disables pressing R to instantly die on the spot in glitchless mode. However, it is still available in custom levels. The R key was intended to get players out of softlocks in custom levels, but it was left enabled in the main game by mistake. This turned out to enable a variety of various glitches, most notably telejumping. So it was left enabled. But now glitchless mode disables it, to prevent pressing it by accident for speedrunning goals that prohibit pressing R.
This commit is contained in:
parent
3e0b7e5345
commit
b8ab77c701
1 changed files with 4 additions and 1 deletions
|
@ -3009,7 +3009,10 @@ void gameinput(void)
|
||||||
game.menupage = 30; // Pause screen
|
game.menupage = 30; // Pause screen
|
||||||
}
|
}
|
||||||
|
|
||||||
if (game.deathseq == -1 && (key.isDown(SDLK_r) || key.isDown(game.controllerButton_restart)) && !game.nodeathmode)// && map.custommode) //Have fun glitchrunners!
|
if (game.deathseq == -1 &&
|
||||||
|
(key.isDown(SDLK_r) || key.isDown(game.controllerButton_restart))
|
||||||
|
&& !game.nodeathmode
|
||||||
|
&& (map.custommode || !game.glitchlessmode)) /* Have fun glitchrunners! */
|
||||||
{
|
{
|
||||||
game.deathseq = 30;
|
game.deathseq = 30;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue