diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-01 18:08:50 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-01 18:08:50 +0100 |
commit | 310d7d2639ebc6ecba0e3367a401595e1e8f974b (patch) | |
tree | 68edc60fbc97957fe79da4ba9bb2f86d26a10184 /src/scenery.hpp | |
parent | 257c2420545eb632a53c0fe3cd317be613dcb272 (diff) |
src: optimize bbox replacement in update loop
Diffstat (limited to 'src/scenery.hpp')
-rw-r--r-- | src/scenery.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scenery.hpp b/src/scenery.hpp index 3a8fb241..1db631fb 100644 --- a/src/scenery.hpp +++ b/src/scenery.hpp @@ -98,7 +98,7 @@ struct scenery_ref final { bool can_activate() const noexcept; bool activate(); - void update(float dt); + bool update(float dt); void rotate(rotation r); private: |