diff options
author | Ben Deutsch <ben@bendeutsch.de> | 2018-04-18 20:56:01 +0200 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2018-04-18 20:56:01 +0200 |
commit | 3eac24946418d787697077cc1806856e514ba5f4 (patch) | |
tree | b831acb5d872cdc0f46123e92be9bb21f46d8d9f /builtin/common/vector.lua | |
parent | b1e58c9c35ae3eb6167a0745086cdb0ddb1dd9d7 (diff) | |
download | minetest-3eac24946418d787697077cc1806856e514ba5f4.tar.gz minetest-3eac24946418d787697077cc1806856e514ba5f4.tar.bz2 minetest-3eac24946418d787697077cc1806856e514ba5f4.zip |
PlayerSettings struct for player movement code (#7243)
Instead of calling g_settings->getBool("flag") multiple times
during each movement step, the current settings are cached
in a new player object member. Updated via registered callbacks.
Diffstat (limited to 'builtin/common/vector.lua')
0 files changed, 0 insertions, 0 deletions