This commit is contained in:
DCFApixels 2025-03-15 15:24:58 +08:00
parent b5c4a6949e
commit 833ca7a30f

View File

@ -331,7 +331,7 @@ namespace DCFApixels.DragonECS
{ {
#if DEBUG #if DEBUG
if (count < 0) { Throw.World_InvalidIncrementComponentsBalance(); } if (count < 0) { Throw.World_InvalidIncrementComponentsBalance(); }
//#elif DRAGONECS_STABILITY_MODE #elif DRAGONECS_STABILITY_MODE
if (count < 0) if (count < 0)
{ {
for (int i = entityID << _entityComponentMaskLengthBitShift, iMax = i + _entityComponentMaskLength; i < iMax; i++) for (int i = entityID << _entityComponentMaskLengthBitShift, iMax = i + _entityComponentMaskLength; i < iMax; i++)