File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,13 @@ http_archive(
23
23
url = "https://github.com/ecsact-dev/ecsact_lang_cpp/archive/b1fa28b445b98d5ba62ede19cd6a5bdfa51141be.zip" ,
24
24
)
25
25
26
+ http_archive (
27
+ name = "ecsact_runtime" ,
28
+ sha256 = "ab8270dfbe7fb6360e3b395fb3ad141a99d18b43bb0f3a897cf04e8a736036b8" ,
29
+ strip_prefix = "ecsact_runtime-94b3c740e69b1bc1d35ec3dd8218e80d6bf8fa00" ,
30
+ url = "https://github.com/ecsact-dev/ecsact_runtime/archive/94b3c740e69b1bc1d35ec3dd8218e80d6bf8fa00.zip" ,
31
+ )
32
+
26
33
load ("@rules_ecsact//ecsact:repositories.bzl" , "ecsact_register_toolchains" , "rules_ecsact_dependencies" )
27
34
28
35
rules_ecsact_dependencies ()
@@ -47,13 +54,6 @@ load("@boost//:index.bzl", "boost_http_archives")
47
54
48
55
boost_http_archives ()
49
56
50
- http_archive (
51
- name = "ecsact_runtime" ,
52
- sha256 = "80b722a8790447627b621877c171a96d5e7d09005bfbed7d8b388cb37cefa7b6" ,
53
- strip_prefix = "ecsact_runtime-f7ee18fe96c4400672caccf5475835d54281582c" ,
54
- url = "https://github.com/ecsact-dev/ecsact_runtime/archive/f7ee18fe96c4400672caccf5475835d54281582c.zip" ,
55
- )
56
-
57
57
http_archive (
58
58
name = "hedron_compile_commands" ,
59
59
sha256 = "4b251a482a85de6c5cb0dc34c5671e73190b9ff348e9979fa2c033d81de0f928" ,
Original file line number Diff line number Diff line change @@ -1092,8 +1092,7 @@ private:
1092
1092
1093
1093
void _apply_execution_options (
1094
1094
const ecsact_execution_options& options,
1095
- registry_info& info,
1096
- ecsact_registry_id reg_id
1095
+ registry_info& info
1097
1096
) {
1098
1097
using boost::mp11::mp_for_each;
1099
1098
using ecsact::entt::detail::created_entity;
@@ -1199,7 +1198,7 @@ private:
1199
1198
if constexpr (C::transient) {
1200
1199
return ;
1201
1200
}
1202
- if (has_component <C>(reg_id, entity)) {
1201
+ if (info. registry . template all_of <C>(info. get_entt_entity_id ( entity) )) {
1203
1202
_pre_exec_remove_component<C>(
1204
1203
info,
1205
1204
info.entities_map .at (static_cast <ecsact_entity_id>(entity))
@@ -1313,7 +1312,7 @@ public:
1313
1312
for (int n = 0 ; execution_count > n; ++n) {
1314
1313
actions_span_t actions;
1315
1314
if (execution_options_list != nullptr ) {
1316
- _apply_execution_options (execution_options_list[n], info, reg_id );
1315
+ _apply_execution_options (execution_options_list[n], info);
1317
1316
if (execution_options_list->actions_length > 0 ) {
1318
1317
actions = std::span (
1319
1318
execution_options_list->actions ,
You can’t perform that action at this time.
0 commit comments