mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
old water removed, some fixes here and there
This commit is contained in:
parent
bd26be262d
commit
0fa0e0752a
19 changed files with 276 additions and 277 deletions
|
@ -18,7 +18,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
*/
|
||||
|
||||
#include "environment.h"
|
||||
#include "main.h" // g_device for timing debug
|
||||
|
||||
Environment::Environment(Map *map, std::ostream &dout):
|
||||
m_dout(dout)
|
||||
|
@ -107,7 +106,8 @@ void Environment::step(float dtime)
|
|||
v3f playerpos = player->getPosition();
|
||||
|
||||
// Apply physics to local player
|
||||
if(player->isLocal() && HAXMODE == false)
|
||||
bool haxmode = g_settings.getBool("haxmode");
|
||||
if(player->isLocal() && haxmode == false)
|
||||
{
|
||||
// Apply gravity to local player
|
||||
v3f speed = player->getSpeed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue