mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Extend pitch fly mode to swimming (#7943)
This commit is contained in:
parent
7d7ccf5c0f
commit
aa5ec2ec02
12 changed files with 38 additions and 28 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue