mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Update explosion lookups (#12250)
This commit is contained in:
parent
0494b7ac96
commit
23768e34e8
1 changed files with 2 additions and 2 deletions
|
|
@ -213,6 +213,7 @@ public sealed partial class ExplosionSystem : EntitySystem
|
|||
lookup.DynamicTree.QueryAabb(ref state, GridQueryCallback, gridBox, true);
|
||||
lookup.StaticTree.QueryAabb(ref state, GridQueryCallback, gridBox, true);
|
||||
lookup.SundriesTree.QueryAabb(ref state, GridQueryCallback, gridBox, true);
|
||||
lookup.StaticSundriesTree.QueryAabb(ref state, GridQueryCallback, gridBox, true);
|
||||
|
||||
// process those entities
|
||||
foreach (var xform in list)
|
||||
|
|
@ -254,7 +255,6 @@ public sealed partial class ExplosionSystem : EntitySystem
|
|||
|
||||
list.Clear();
|
||||
lookup.DynamicTree.QueryAabb(ref state, GridQueryCallback, gridBox, true);
|
||||
lookup.StaticTree.QueryAabb(ref state, GridQueryCallback, gridBox, true);
|
||||
lookup.SundriesTree.QueryAabb(ref state, GridQueryCallback, gridBox, true);
|
||||
|
||||
foreach (var xform in list)
|
||||
|
|
@ -311,6 +311,7 @@ public sealed partial class ExplosionSystem : EntitySystem
|
|||
lookup.DynamicTree.QueryAabb(ref state, SpaceQueryCallback, worldBox, true);
|
||||
lookup.StaticTree.QueryAabb(ref state, SpaceQueryCallback, worldBox, true);
|
||||
lookup.SundriesTree.QueryAabb(ref state, SpaceQueryCallback, worldBox, true);
|
||||
lookup.StaticSundriesTree.QueryAabb(ref state, SpaceQueryCallback, worldBox, true);
|
||||
|
||||
foreach (var xform in state.Item1)
|
||||
{
|
||||
|
|
@ -325,7 +326,6 @@ public sealed partial class ExplosionSystem : EntitySystem
|
|||
// lookup is relatively minor computational cost, and throwing is disabled for nukes anyways.
|
||||
list.Clear();
|
||||
lookup.DynamicTree.QueryAabb(ref state, SpaceQueryCallback, worldBox, true);
|
||||
lookup.StaticTree.QueryAabb(ref state, SpaceQueryCallback, worldBox, true);
|
||||
lookup.SundriesTree.QueryAabb(ref state, SpaceQueryCallback, worldBox, true);
|
||||
|
||||
foreach (var xform in list)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue