diff --git a/include/fggl/phys/null.hpp b/include/fggl/phys/null.hpp index 2cc7dfa629772a3267a1b3ce32344a50a31520e4..79c296eae27e6e57febdd92756b96907475342d6 100644 --- a/include/fggl/phys/null.hpp +++ b/include/fggl/phys/null.hpp @@ -25,8 +25,11 @@ namespace fggl::phys { inline void build_noop(const entity::ComponentSpec & /*config*/, - entity::EntityManager & /*manager*/, - const entity::EntityID & /*entity*/) {} + entity::EntityManager & manager, + const entity::EntityID & entity) { + manager.add<fggl::phys::RigidBody>(entity); + manager.add<fggl::phys::Dynamics>(entity); + } class NullPhysicsEngine : public PhysicsEngine { public: