summaryrefslogtreecommitdiffhomepage
path: root/src/object.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object.hpp')
-rw-r--r--src/object.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/object.hpp b/src/object.hpp
index b2cf2884..e462c8db 100644
--- a/src/object.hpp
+++ b/src/object.hpp
@@ -85,7 +85,8 @@ struct object
void move_to(size_t& i, Vector2i delta, rotation new_r);
void move_to(Vector2i delta);
- static uint32_t allocate_frame_time(uint16_t& accum, Ns dt, float speed, uint32_t hz);
+ static uint32_t allocate_frame_time(Ns dt, uint16_t& accum, uint32_t hz);
+ uint32_t allocate_frame_time(Ns dt);
protected:
object(object_id id, class chunk& c, const object_proto& proto);