Skip to content

Commit 8a32b4d

Browse files
committed
crash fix
1 parent e7e3d33 commit 8a32b4d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

distr/flecs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85265,7 +85265,7 @@ flecs_query_row_mask_t flecs_query_get_row_mask(
8526585265
ecs_assert((64 * block_index) < bs->size, ECS_INTERNAL_ERROR, NULL);
8526685266
block |= bs->data[block_index];
8526785267
chain_has_bitset = true;
85268-
} else if (ecs_table_has_id(it->world, table, id)) {
85268+
} else if (ecs_table_has_id(q->world, table, id)) {
8526985269
block = UINT64_MAX;
8527085270
break;
8527185271
}

src/query/engine/eval_toggle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ flecs_query_row_mask_t flecs_query_get_row_mask(
9494
ecs_assert((64 * block_index) < bs->size, ECS_INTERNAL_ERROR, NULL);
9595
block |= bs->data[block_index];
9696
chain_has_bitset = true;
97-
} else if (ecs_table_has_id(it->world, table, id)) {
97+
} else if (ecs_table_has_id(q->world, table, id)) {
9898
block = UINT64_MAX;
9999
break;
100100
}

0 commit comments

Comments
 (0)