1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-18 10:45:27 +02:00

Extend pitch fly mode to swimming (#7943)

This commit is contained in:
random-geek
2018-12-30 16:07:30 -08:00
committed by Paramat
parent 7d7ccf5c0f
commit aa5ec2ec02
12 changed files with 38 additions and 28 deletions

View File

@@ -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();