mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
mapgen tweaking
This commit is contained in:
parent
ea2d03e468
commit
25a7fabed8
9 changed files with 285 additions and 184 deletions
|
@ -107,8 +107,8 @@ void Environment::step(float dtime)
|
|||
v3f playerpos = player->getPosition();
|
||||
|
||||
// Apply physics to local player
|
||||
bool haxmode = g_settings.getBool("haxmode");
|
||||
if(player->isLocal() && haxmode == false)
|
||||
bool free_move = g_settings.getBool("free_move");
|
||||
if(player->isLocal() && free_move == false)
|
||||
{
|
||||
// Apply gravity to local player
|
||||
v3f speed = player->getSpeed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue