Code cleanup: Purge calls to obsolete EntityCoordinates methods (#26292)

* Purge calls to obsolete EntityCoordinates methods

* Pizza defruited; rerun those tests!

(cherry picked from commit f4cb02fb0c)
This commit is contained in:
Tayrtahn
2024-03-24 00:07:58 +01:00
committed by NullWanderer
parent cbd2b5e8c3
commit 3dd5dcadc5
34 changed files with 70 additions and 56 deletions
@@ -331,7 +331,7 @@ public sealed partial class ExplosionSystem : EntitySystem
CameraShake(iterationIntensity.Count * 4f, epicenter, totalIntensity);
//For whatever bloody reason, sound system requires ENTITY coordinates.
var mapEntityCoords = EntityCoordinates.FromMap(EntityManager, _mapManager.GetMapEntityId(epicenter.MapId), epicenter);
var mapEntityCoords = EntityCoordinates.FromMap(_mapManager.GetMapEntityId(epicenter.MapId), epicenter, _transformSystem, EntityManager);
// play sound.
// for the normal audio, we want everyone in pvs range