From ec79ef71a7a2b7026e8d2a16a6d90e143eb9e406 Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Sun, 4 Aug 2024 19:30:00 +0800 Subject: [PATCH 1/2] fix IsMatchesMask bug --- src/EcsWorld.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EcsWorld.cs b/src/EcsWorld.cs index 515a0fd..24ac88e 100644 --- a/src/EcsWorld.cs +++ b/src/EcsWorld.cs @@ -373,14 +373,14 @@ namespace DCFApixels.DragonECS #if (DEBUG && !DISABLE_DEBUG) || !DISABLE_DRAGONECS_ASSERT_CHEKS if (mask._worldID != id) { Throw.World_MaskDoesntBelongWorld(); } #endif - for (int i = 0, iMax = mask._incChunckMasks.Length; i < iMax; i++) + for (int i = 0, iMax = mask._inc.Length; i < iMax; i++) { if (!_pools[mask._inc[i]].Has(entityID)) { return false; } } - for (int i = 0, iMax = mask._excChunckMasks.Length; i < iMax; i++) + for (int i = 0, iMax = mask._exc.Length; i < iMax; i++) { if (_pools[mask._exc[i]].Has(entityID)) { From 73d8bc9aab9412e7b372dc19f47cfae0a606bfa6 Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Sun, 4 Aug 2024 19:30:51 +0800 Subject: [PATCH 2/2] up version to 0.8.41 --- DragonECS.csproj | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DragonECS.csproj b/DragonECS.csproj index 7a5a4c7..55f91c7 100644 --- a/DragonECS.csproj +++ b/DragonECS.csproj @@ -10,7 +10,7 @@ DCFApixels.DragonECS DragonECS - 0.8.40 + 0.8.41 DCFApixels ECS Framework for Game Engines with C# and .Net Platform DCFApixels diff --git a/package.json b/package.json index 9e09780..0610af7 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "displayName": "DragonECS", "description": "C# Entity Component System Framework", "unity": "2020.3", - "version": "0.8.40", + "version": "0.8.41", "repository": { "type": "git", "url": "https://github.com/DCFApixels/DragonECS.git"