From 85511a642f851100d0d856f4ecbe7fea7a7bb049 Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Wed, 16 Aug 2017 22:11:45 +0200 Subject: Cleanup various headers to reduce compilation times (#6255) * Cleanup various headers to reduce compilation times --- src/game.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 4588e21e0..cdbd92301 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -3445,8 +3445,7 @@ void Game::updateCamera(u32 busy_time, f32 dtime) float tool_reload_ratio = runData.time_from_last_punch / full_punch_interval; tool_reload_ratio = MYMIN(tool_reload_ratio, 1.0); - camera->update(player, dtime, busy_time / 1000.0f, tool_reload_ratio, - client->getEnv()); + camera->update(player, dtime, busy_time / 1000.0f, tool_reload_ratio); camera->step(dtime); v3f camera_position = camera->getPosition(); -- cgit v1.2.3