diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-09 10:16:29 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-09 10:16:29 +0200 |
commit | e9cd43f3b017c148497e3185c4b397f124399c8f (patch) | |
tree | f011feabf2d43464ae8dc49b0d65bd7008a2382f /src/world.hpp | |
parent | f9fdb7eb5874bd08c01d35b57ca6936a6242723e (diff) |
w
Diffstat (limited to 'src/world.hpp')
-rw-r--r-- | src/world.hpp | 2 |
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); |