summaryrefslogtreecommitdiffhomepage
path: root/src/critter.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-04-06 19:29:19 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-04-06 19:29:19 +0200
commitee5d38b3d5b994425776ca9fe19ce0bdc8f70c8f (patch)
tree9192f51145292951c15c258b1464532fdea7efea /src/critter.cpp
parent683b6838786b28ee3398ae9580cfaa8e003f084f (diff)
bring back update_world resync on entity moved
Diffstat (limited to 'src/critter.cpp')
-rw-r--r--src/critter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/critter.cpp b/src/critter.cpp
index 21dc74bd..5b80ab81 100644
--- a/src/critter.cpp
+++ b/src/critter.cpp
@@ -362,7 +362,7 @@ Vector2 critter::ordinal_offset(Vector2b offset) const
return Vector2(offset);
}
-void critter::update(size_t i, const Ns& dt)
+void critter::update(size_t& i, const Ns& dt)
{
if (playable) [[unlikely]]
{