summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/setup/keyboard.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/setup/keyboard.c b/src/setup/keyboard.c
index feceaa78..6b1667e1 100644
--- a/src/setup/keyboard.c
+++ b/src/setup/keyboard.c
@@ -199,11 +199,14 @@ static void ConfigExtraKeys(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(unused))
AddKeyControl(table, "Look down", &key_lookdown);
AddKeyControl(table, "Center view", &key_lookcenter);
- AddSectionLabel(table, "Flying", true);
+ if (gamemission == heretic || gamemission == hexen)
+ {
+ AddSectionLabel(table, "Flying", true);
- AddKeyControl(table, "Fly up", &key_flyup);
- AddKeyControl(table, "Fly down", &key_flydown);
- AddKeyControl(table, "Fly center", &key_flycenter);
+ AddKeyControl(table, "Fly up", &key_flyup);
+ AddKeyControl(table, "Fly down", &key_flydown);
+ AddKeyControl(table, "Fly center", &key_flycenter);
+ }
AddSectionLabel(table, "Inventory", true);