mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-19 02:24:37 +08:00
fix queries
This commit is contained in:
parent
e46951f5a6
commit
d98cce379d
@ -457,7 +457,7 @@ namespace DCFApixels.DragonECS
|
|||||||
for (int i = 0; i < _sortExcChunckBuffer.Length; i++)
|
for (int i = 0; i < _sortExcChunckBuffer.Length; i++)
|
||||||
{
|
{
|
||||||
var bit = _sortExcChunckBuffer.ptr[i];
|
var bit = _sortExcChunckBuffer.ptr[i];
|
||||||
if ((_entityComponentMasks[e * _entityComponentMaskLength + bit.chankIndex] & bit.mask) > 0)
|
if ((_entityComponentMasks[e * _entityComponentMaskLength + bit.chankIndex] & bit.mask) != 0)
|
||||||
{
|
{
|
||||||
goto skip;
|
goto skip;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user