summaryrefslogtreecommitdiffhomepage
path: root/src/world.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.hpp')
-rw-r--r--src/world.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.hpp b/src/world.hpp
index c8084614..420e8894 100644
--- a/src/world.hpp
+++ b/src/world.hpp
@@ -50,7 +50,7 @@ private:
explicit world(size_t capacity);
void do_make_object(const std::shared_ptr<object>& e, global_coords pos, bool sorted); // todo replace 2nd arg with chunk&
- void do_kill_object(object_id id);
+ void erase_object(object_id id);
std::shared_ptr<object> find_object_(object_id id);
[[noreturn]] static void throw_on_wrong_object_type(object_id id, object_type actual, object_type expected);