summaryrefslogtreecommitdiffstats
path: root/game/client/world/voxel_anims.cc
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/world/voxel_anims.cc')
-rw-r--r--game/client/world/voxel_anims.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/game/client/world/voxel_anims.cc b/game/client/world/voxel_anims.cc
index 9e5e035..e4d9cf6 100644
--- a/game/client/world/voxel_anims.cc
+++ b/game/client/world/voxel_anims.cc
@@ -3,7 +3,9 @@
#include "client/world/voxel_anims.hh"
#include "core/config/number.hh"
+
#include "core/io/config_map.hh"
+
#include "core/math/constexpr.hh"
#include "client/globals.hh"
@@ -24,8 +26,8 @@ void world::voxel_anims::init(void)
void world::voxel_anims::update(void)
{
if(globals::curtime >= world::voxel_anims::nextframe) {
- world::voxel_anims::nextframe =
- globals::curtime + static_cast<std::uint64_t>(1000000.0 / static_cast<float>(base_framerate.get_value()));
+ world::voxel_anims::nextframe = globals::curtime
+ + static_cast<std::uint64_t>(1000000.0 / static_cast<float>(base_framerate.get_value()));
world::voxel_anims::frame += 1U;
}
}