1
0
Fork 0
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:
Perttu Ahola 2011-02-06 16:35:27 +02:00
parent ea2d03e468
commit 25a7fabed8
9 changed files with 285 additions and 184 deletions

View file

@ -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();