mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +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,8 +3715,13 @@ bool PlayerFlyKey(void)
|
|||
{
|
||||
if (!ToggleFlyMode)
|
||||
return false;
|
||||
|
||||
ToggleFlyMode = false;
|
||||
return true;
|
||||
|
||||
if (!GodMode)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -7,3 +7,4 @@ N "useitem 4"
|
|||
G "useitem 5"
|
||||
F "useitem 6"
|
||||
C "useitem 7"
|
||||
J "fly"
|
||||
|
|
Loading…
Reference in a new issue