mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
- sw: flykey: guard against non-godmode, bind to j by default
This commit is contained in:
parent
410d392ba8
commit
c8a74a8f3f
2 changed files with 7 additions and 1 deletions
|
@ -3715,7 +3715,12 @@ bool PlayerFlyKey(void)
|
||||||
{
|
{
|
||||||
if (!ToggleFlyMode)
|
if (!ToggleFlyMode)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
ToggleFlyMode = false;
|
ToggleFlyMode = false;
|
||||||
|
|
||||||
|
if (!GodMode)
|
||||||
|
return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,3 +7,4 @@ N "useitem 4"
|
||||||
G "useitem 5"
|
G "useitem 5"
|
||||||
F "useitem 6"
|
F "useitem 6"
|
||||||
C "useitem 7"
|
C "useitem 7"
|
||||||
|
J "fly"
|
||||||
|
|
Loading…
Reference in a new issue