This commit is contained in:
MihailRis 2024-02-18 22:28:30 +03:00
parent 853ee0fc6f
commit 96032b60ea

View File

@ -24,7 +24,7 @@ struct voxel {
}
inline void setRotation(uint8_t rotation) {
states = (states & (~BLOCK_ROT_MASK)) | rotation & BLOCK_ROT_MASK;
states = (states & (~BLOCK_ROT_MASK)) | (rotation & BLOCK_ROT_MASK);
}
};