summaryrefslogtreecommitdiffhomepage
path: root/src/object.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-27 21:30:00 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-27 21:30:00 +0100
commit722b07a415f82a7fe56f595497ddf2ec0816f27c (patch)
tree42df92ff7f6d0a670644991cfff34ee3627a8c40 /src/object.cpp
parent5becc80e3c3eb04f2067cb000e32eef45441e5f3 (diff)
actually speed should be the property of critter
Diffstat (limited to 'src/object.cpp')
-rw-r--r--src/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.cpp b/src/object.cpp
index 96acd4b9..307a2155 100644
--- a/src/object.cpp
+++ b/src/object.cpp
@@ -47,7 +47,7 @@ object_proto::object_proto(const object_proto&) = default;
object_type object_proto::type_of() const noexcept { return type; }
object::object(object_id id, class chunk& c, const object_proto& proto) :
- id{id}, c{&c}, atlas{proto.atlas}, speed{proto.speed},
+ id{id}, c{&c}, atlas{proto.atlas},
offset{proto.offset}, bbox_offset{proto.bbox_offset},
bbox_size{proto.bbox_size}, delta{proto.delta},
frame{proto.frame}, r{proto.r}, pass{proto.pass}