diff options
author | Sfan5 <sfan5@live.de> | 2014-04-15 19:49:32 +0200 |
---|---|---|
committer | Sfan5 <sfan5@live.de> | 2014-04-15 21:34:53 +0200 |
commit | 118e2ae865bd7a0020586ef72d05bf14d66f4eae (patch) | |
tree | 5da3d9bc1d4e26e7e75f61b5ea10916161f29cba /src/environment.cpp | |
parent | d436502fa499255236350fc9204f9c508414704e (diff) | |
download | minetest-118e2ae865bd7a0020586ef72d05bf14d66f4eae.tar.gz minetest-118e2ae865bd7a0020586ef72d05bf14d66f4eae.tar.bz2 minetest-118e2ae865bd7a0020586ef72d05bf14d66f4eae.zip |
Fix all warnings reported by clang
Diffstat (limited to 'src/environment.cpp')
-rw-r--r-- | src/environment.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/environment.cpp b/src/environment.cpp index 630f8d21a..bc1b59d89 100644 --- a/src/environment.cpp +++ b/src/environment.cpp @@ -314,7 +314,6 @@ ServerEnvironment::ServerEnvironment(ServerMap *map, m_map(map), m_script(scriptIface), m_gamedef(gamedef), - m_random_spawn_timer(3), m_send_recommended_timer(0), m_active_block_interval_overload_skip(0), m_game_time(0), @@ -1097,7 +1096,7 @@ void ServerEnvironment::step(float dtime) continue; // Move - player->move(dtime, *m_map, 100*BS); + player->move(dtime, this, 100*BS); } } @@ -2395,7 +2394,7 @@ void ClientEnvironment::step(float dtime) if(player->isLocal() == false) { // Move - player->move(dtime, *m_map, 100*BS); + player->move(dtime, this, 100*BS); } |