summaryrefslogtreecommitdiffhomepage
path: root/src/character.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-08-27 15:52:23 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-08-27 17:57:30 +0200
commit364155032c228342e853c8f1661fea0c57f11c15 (patch)
treec65963cae277f67511f5b1fe07ecf8d4ddb69d56 /src/character.hpp
parent481fc7e9e2a58abcd1299ccdebcb4b0527b47815 (diff)
src: remove entity::update() 'bool' return value
Diffstat (limited to 'src/character.hpp')
-rw-r--r--src/character.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/character.hpp b/src/character.hpp
index 8a45ce10..06833f75 100644
--- a/src/character.hpp
+++ b/src/character.hpp
@@ -26,7 +26,7 @@ struct character final : entity
entity_type type() const noexcept override;
explicit operator character_proto() const;
- bool update(size_t i, float dt) override;
+ void update(size_t i, float dt) override;
void set_keys(bool L, bool R, bool U, bool D);
Vector2 ordinal_offset(Vector2b offset) const override;
float depth_offset() const override;