This repository was archived by the owner on Mar 10, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ inline FlecsRegistry register_enemy_death_system([](flecs::world& world) {
3838 for (auto entity_index : it) {
3939 if (hit_points[entity_index].value > godot::real_t (0.0 )) { continue ; }
4040
41- flecs::entity entity = it.entity (static_cast <std:: int32_t >( entity_index) );
41+ flecs::entity entity = it.entity (entity_index);
4242 godot::Dictionary signal_data;
4343
44- const flecs::entity prefab_entity = entity.target (flecs::IsA);
44+ const flecs::entity prefab_entity = entity.target (flecs::IsA);
4545 // https://discord.com/channels/633826290415435777/1455553733978099763/1455641967605059854
4646 // https://discord.com/channels/633826290415435777/1455553733978099763/1456480409255936118
4747 // const flecs::entity prefab_entity = it.pair(7).second();
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ inline FlecsRegistry register_enemy_timer_tick_system([](flecs::world& world) {
5050 if (death_timer.value <= godot::real_t (0.0 )) {
5151 death_timer.value = godot::real_t (0.0 );
5252
53- flecs::entity entity = it.entity (static_cast <std:: int32_t >( entity_index) );
53+ flecs::entity entity = it.entity (entity_index);
5454
5555 entity.destruct ();
5656 continue ;
You can’t perform that action at this time.
0 commit comments