summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authorrandom-geek <35757396+random-geek@users.noreply.github.com>2018-12-30 16:07:30 -0800
committerParamat <paramat@users.noreply.github.com>2018-12-31 00:07:30 +0000
commitaa5ec2ec02f331542dfe40e781c7c93ee4c0c131 (patch)
tree207960a9115366cc9d1d82cd593dd855b166b173 /src/player.h
parent7d7ccf5c0f3d8689519629282d72b1fea8f4bf30 (diff)
downloadminetest-aa5ec2ec02f331542dfe40e781c7c93ee4c0c131.tar.gz
minetest-aa5ec2ec02f331542dfe40e781c7c93ee4c0c131.tar.bz2
minetest-aa5ec2ec02f331542dfe40e781c7c93ee4c0c131.zip
Extend pitch fly mode to swimming (#7943)
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player.h b/src/player.h
index 9af6e5cac..05b6fcbb5 100644
--- a/src/player.h
+++ b/src/player.h
@@ -87,7 +87,7 @@ struct PlayerControl
struct PlayerSettings
{
bool free_move = false;
- bool pitch_fly = false;
+ bool pitch_move = false;
bool fast_move = false;
bool continuous_forward = false;
bool always_fly_fast = false;
@@ -96,7 +96,7 @@ struct PlayerSettings
bool autojump = false;
const std::string setting_names[8] = {
- "free_move", "pitch_fly", "fast_move", "continuous_forward", "always_fly_fast",
+ "free_move", "pitch_move", "fast_move", "continuous_forward", "always_fly_fast",
"aux1_descends", "noclip", "autojump"
};
void readGlobalSettings();