From ee5d38b3d5b994425776ca9fe19ce0bdc8f70c8f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 6 Apr 2024 19:29:19 +0200 Subject: bring back update_world resync on entity moved --- src/light.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/light.hpp') 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; -- cgit v1.2.3