mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
Merge branch 'main' into vcm-bones
This commit is contained in:
commit
01ddb0bfba
1 changed files with 3 additions and 1 deletions
|
|
@ -41,7 +41,9 @@ static void on_chunk_register_event(
|
||||||
if ((bits & 0x80) == 0) {
|
if ((bits & 0x80) == 0) {
|
||||||
const auto& def = indices.blocks.require(id);
|
const auto& def = indices.blocks.require(id);
|
||||||
bits = get_events_bits(def);
|
bits = get_events_bits(def);
|
||||||
flagsCache[id] = bits | 0x80;
|
if (id < sizeof(flagsCache)) {
|
||||||
|
flagsCache[id] = bits | 0x80;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
bits &= 0x7F;
|
bits &= 0x7F;
|
||||||
if (bits == 0) {
|
if (bits == 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue