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

Fix all warnings reported by clang

This commit is contained in:
Sfan5 2014-04-15 19:49:32 +02:00
parent d436502fa4
commit 118e2ae865
27 changed files with 49 additions and 63 deletions

View file

@ -65,7 +65,7 @@ LocalPlayer::~LocalPlayer()
{
}
void LocalPlayer::move(f32 dtime, ClientEnvironment *env, f32 pos_max_d,
void LocalPlayer::move(f32 dtime, Environment *env, f32 pos_max_d,
std::list<CollisionInfo> *collision_info)
{
Map *map = &env->getMap();
@ -360,7 +360,7 @@ void LocalPlayer::move(f32 dtime, ClientEnvironment *env, f32 pos_max_d,
m_can_jump = false;
}
void LocalPlayer::move(f32 dtime, ClientEnvironment *env, f32 pos_max_d)
void LocalPlayer::move(f32 dtime, Environment *env, f32 pos_max_d)
{
move(dtime, env, pos_max_d, NULL);
}