summaryrefslogtreecommitdiffhomepage
path: root/src/critter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/critter.hpp')
-rw-r--r--src/critter.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/critter.hpp b/src/critter.hpp
index f05c3352..137cb268 100644
--- a/src/critter.hpp
+++ b/src/critter.hpp
@@ -30,8 +30,8 @@ struct critter final : object
explicit operator critter_proto() const;
void update(size_t i, const Ns& dt) override;
- void update_movement(size_t i, const Ns& dt, rotation r);
- void update_nonplayable(size_t i, const Ns& dt);
+ void update_movement(size_t& i, const Ns& dt, rotation r);
+ void update_nonplayable(size_t& i, const Ns& dt);
void set_keys(bool L, bool R, bool U, bool D);
void set_keys_auto();
Vector2 ordinal_offset(Vector2b offset) const override;