1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add slippery group for nodes (players/items slide)

This commit is contained in:
Wuzzy 2017-08-11 21:16:09 +02:00 committed by paramat
parent 4381fe0a0a
commit 2ea26e655d
5 changed files with 49 additions and 17 deletions

View file

@ -403,7 +403,7 @@ void Client::step(float dtime)
// Control local player (0ms)
LocalPlayer *player = m_env.getLocalPlayer();
assert(player);
player->applyControl(dtime);
player->applyControl(dtime, &m_env);
// Step environment
m_env.step(dtime);