summaryrefslogtreecommitdiffhomepage
path: root/src/light.hpp
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/light.hpp
parent683b6838786b28ee3398ae9580cfaa8e003f084f (diff)
bring back update_world resync on entity moved
Diffstat (limited to 'src/light.hpp')
-rw-r--r--src/light.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/light.hpp b/src/light.hpp
index 3d0d3546..ecc45d31 100644
--- a/src/light.hpp
+++ b/src/light.hpp
@@ -33,7 +33,7 @@ struct light final : object
Vector2 ordinal_offset(Vector2b offset) const override;
float depth_offset() const override;
object_type type() const noexcept override;
- void update(size_t i, const Ns& dt) override;
+ void update(size_t& i, const Ns& dt) override;
bool is_dynamic() const override;
bool is_virtual() const override;