diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-08-16 22:11:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-16 22:11:45 +0200 |
commit | 85511a642f851100d0d856f4ecbe7fea7a7bb049 (patch) | |
tree | b25e4196578cb4734008642a29101393c6d9c457 /src/game.cpp | |
parent | 816bca32ac69f58b7de881d68689c6a1e3897a0e (diff) | |
download | dragonfireclient-85511a642f851100d0d856f4ecbe7fea7a7bb049.tar.xz |
Cleanup various headers to reduce compilation times (#6255)
* Cleanup various headers to reduce compilation times
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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(); |