summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/player.h b/src/player.h
index 674491546..9af6e5cac 100644
--- a/src/player.h
+++ b/src/player.h
@@ -87,6 +87,7 @@ struct PlayerControl
struct PlayerSettings
{
bool free_move = false;
+ bool pitch_fly = false;
bool fast_move = false;
bool continuous_forward = false;
bool always_fly_fast = false;
@@ -94,8 +95,8 @@ struct PlayerSettings
bool noclip = false;
bool autojump = false;
- const std::string setting_names[7] = {
- "free_move", "fast_move", "continuous_forward", "always_fly_fast",
+ const std::string setting_names[8] = {
+ "free_move", "pitch_fly", "fast_move", "continuous_forward", "always_fly_fast",
"aux1_descends", "noclip", "autojump"
};
void readGlobalSettings();