summaryrefslogtreecommitdiffhomepage
path: root/src/world.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-04-09 10:16:29 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-04-09 10:16:29 +0200
commite9cd43f3b017c148497e3185c4b397f124399c8f (patch)
treef011feabf2d43464ae8dc49b0d65bd7008a2382f /src/world.hpp
parentf9fdb7eb5874bd08c01d35b57ca6936a6242723e (diff)
w
Diffstat (limited to 'src/world.hpp')
-rw-r--r--src/world.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/world.hpp b/src/world.hpp
index ca58bc47..7f2eab48 100644
--- a/src/world.hpp
+++ b/src/world.hpp
@@ -88,10 +88,12 @@ public:
}
void do_make_object(const std::shared_ptr<object>& e, global_coords pos, bool sorted);
+#if 0
template<typename T, typename... Xs> std::shared_ptr<object> make_unconnected_object(Xs&&... xs)
{
return std::shared_ptr<T>(new T{0, operator[](chunk_coords_{}), {}, forward<Xs>(xs)...});
}
+#endif
template<typename T = object> std::shared_ptr<T> find_object(object_id id);