]> git.lizzy.rs Git - minetest.git/blobdiff - src/player.h
Optimize usage of TOSERVER_GOTBLOCKS packet
[minetest.git] / src / player.h
index 67449154616b1a6f12b13200ef0eaa01f765a0b8..05b6fcbb53e21fba10143e716311fa14d4c08380 100644 (file)
@@ -87,6 +87,7 @@ struct PlayerControl
 struct PlayerSettings
 {
        bool free_move = false;
+       bool pitch_move = 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_move", "fast_move", "continuous_forward", "always_fly_fast",
                "aux1_descends", "noclip", "autojump"
        };
        void readGlobalSettings();