From 9f2953605a5e321f0c10ddd12d3da55a7aef86e4 Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Wed, 19 Jun 2024 16:40:53 -0700 Subject: [PATCH] fix(meta): c++ wrapper using wrong assoc cap count (#251) --- ecsact/runtime/meta.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ecsact/runtime/meta.hh b/ecsact/runtime/meta.hh index de4fe8c4..82bab388 100644 --- a/ecsact/runtime/meta.hh +++ b/ecsact/runtime/meta.hh @@ -555,7 +555,8 @@ ECSACT_ALWAYS_INLINE auto system_assoc_capabilities( std::vector>; const auto sys_like_id = ecsact_id_cast(id); - auto count = ecsact_meta_system_capabilities_count(sys_like_id); + auto count = + ecsact_meta_system_assoc_capabilities_count(sys_like_id, assoc_id); std::vector components; std::vector capabilities; components.resize(count);