]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/player.h
Merge branch 'master' of https://github.com/minetest/minetest
[dragonfireclient.git] / src / player.h
index d769acdad8067d9a0a25e64c62b5f237156830c0..0216cfe9cbbc89e8c012176bbe7b05b0ce2fd8fa 100644 (file)
@@ -101,14 +101,15 @@ struct PlayerSettings
        bool free_move = false;
        bool pitch_move = false;
        bool fast_move = false;
+       bool freecam = false;
        bool continuous_forward = false;
        bool always_fly_fast = false;
        bool aux1_descends = false;
        bool noclip = false;
        bool autojump = false;
 
-       const std::string setting_names[8] = {
-               "free_move", "pitch_move", "fast_move", "continuous_forward", "always_fly_fast",
+       const std::string setting_names[9] = {
+               "free_move", "pitch_move", "fast_move", "freecam", "continuous_forward", "always_fly_fast",
                "aux1_descends", "noclip", "autojump"
        };
        void readGlobalSettings();