diff options
Diffstat (limited to 'src/object.hpp')
-rw-r--r-- | src/object.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object.hpp b/src/object.hpp index e462c8db..92ddb07f 100644 --- a/src/object.hpp +++ b/src/object.hpp @@ -85,8 +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(Ns dt, uint16_t& accum, uint32_t hz); - uint32_t allocate_frame_time(Ns dt); + static uint32_t allocate_frame_time(Ns dt, uint16_t& accum, uint32_t hz, float speed); + uint32_t allocate_frame_time(Ns dt, float speed); protected: object(object_id id, class chunk& c, const object_proto& proto); |