AttacqueSuperior / Engine

A customized fork for the modification Attacque Supérior of the open-source implementation of the Command & Conquer: Red Alert engine using .NET/Mono and OpenGL. Runs on Windows, Linux and Mac OS X.
http://attsup.swr-productions.com
GNU General Public License v3.0
16 stars 3 forks source link

Spawner code does not rotate the exit offset along with the facing. #98

Open GraionDilach opened 3 years ago

GraionDilach commented 3 years ago

https://github.com/AttacqueSuperior/Engine/blob/a643391209c18c61f0bf9054ce8444d4ae2c1bde/OpenRA.Mods.AS/Traits/BaseSpawnerMaster.cs#L215-L218

The most worthwhile refactor sounds like to turn SetSpawnedFacing into a function returning this value because it already does the syncing between the spawner and the spawnee.

Related: https://github.com/OpenRA/ra2/issues/719 (which shares this block).