summaryrefslogtreecommitdiffhomepage
path: root/src/critter.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/critter.cpp
parent5becc80e3c3eb04f2067cb000e32eef45441e5f3 (diff)
actually speed should be the property of critter
Diffstat (limited to 'src/critter.cpp')
-rw-r--r--src/critter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/critter.cpp b/src/critter.cpp
index c8bb2e4f..781d086b 100644
--- a/src/critter.cpp
+++ b/src/critter.cpp
@@ -230,6 +230,7 @@ critter::operator critter_proto() const
critter::critter(object_id id, class chunk& c, const critter_proto& proto) :
object{id, c, proto},
name{proto.name},
+ speed{proto.speed},
playable{proto.playable}
{
if (!name)