summaryrefslogtreecommitdiffhomepage
path: root/src/critter.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-05-03 18:42:09 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-05-05 03:16:22 +0200
commite5a80257216d76f5033b4120f348f309ca7764f1 (patch)
tree6544f3ada808214beb7915704f317aba98966e88 /src/critter.cpp
parentba91cb1393274072721e1c31db0c7f73dc9c9db7 (diff)
a wip
Diffstat (limited to 'src/critter.cpp')
-rw-r--r--src/critter.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/critter.cpp b/src/critter.cpp
index b08c083c..b25aaea4 100644
--- a/src/critter.cpp
+++ b/src/critter.cpp
@@ -391,13 +391,6 @@ void critter::update(const std::shared_ptr<object>& ptrʹ, size_t& i, const Ns&
update_movement(i, dt, new_r);
}
}
- else
- update_nonplayable(i, dt);
-}
-
-void critter::update_nonplayable(size_t& i, const Ns& dt)
-{
- (void)i; (void)dt; (void)playable;
}
void critter::update_movement(size_t& i, const Ns& dt, rotation new_r)
@@ -531,7 +524,6 @@ auto critter::move_toward(size_t& index, const Ns& dt, const point& dest) -> mov
return { .blocked = false, .moved = moved };
}
-
object_type critter::type() const noexcept { return object_type::critter; }
critter::operator critter_proto() const