#aux1_descends = false
# Doubletaping the jump key toogles fly mode
#doubletap_jump = false
+# If false aux1 is used to fly fast
+#always_fly_fast = true
# Some (temporary) keys for debugging
#keymap_print_debug_stacks = KEY_KEY_P
#keymap_quicktune_prev = KEY_HOME
settings->setDefault("anaglyph_strength", "0.1");
settings->setDefault("aux1_descends", "false");
settings->setDefault("doubletap_jump", "false");
+ settings->setDefault("always_fly_fast", "true");
// Some (temporary) keys for debugging
settings->setDefault("keymap_print_debug_stacks", "KEY_KEY_P");
// Whether superspeed mode is used or not
bool superspeed = false;
+ if(g_settings->getBool("always_fly_fast") && free_move && fast_move)
+ superspeed = true;
+
// Old descend control
if(g_settings->getBool("aux1_descends"))
{
{
// In free movement mode, sneak descends
v3f speed = getSpeed();
- if(fast_move && control.aux1)
+ if(fast_move && (control.aux1 ||
+ g_settings->getBool("always_fly_fast")))
speed.Y = -20*BS;
else
speed.Y = -walkspeed_max;
{
v3f speed = getSpeed();
- if(g_settings->getBool("aux1_descends"))
+ if(g_settings->getBool("aux1_descends") ||
+ g_settings->getBool("always_fly_fast"))
{
if(fast_move)
speed.Y = 20*BS;