]> git.lizzy.rs Git - dragonfireclient.git/commit
Safe digging and placing (#6127)
authorBen Deutsch <ben@bendeutsch.de>
Thu, 24 Aug 2017 06:30:46 +0000 (08:30 +0200)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Thu, 24 Aug 2017 06:30:46 +0000 (08:30 +0200)
commit397a701f985f918cf8403802575045435de40c9a
tree042be04cd4d558e1563662b2bbbd3e37ac56189a
parentc7160cb629086df2a32c7dcf4faed4761ec4393e
Safe digging and placing (#6127)

* Setting: Safe digging and placing

* New setting 'safe_dig_and_place' under Controls
* If set, digging and placing will not auto-repeat
* Releasing buttons unblocks the respective action again
* Useful for inexperienced users in creative mode where default
  repeat times may be too short

* Safe placing (right click repetition) does not need a guarding flag

* Added new setting to minetest.conf.example
builtin/settingtypes.txt
minetest.conf.example
src/defaultsettings.cpp
src/game.cpp