summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);