Move SpawnActorOnDeath to OpenRA.Mods.Common & fix spawned death actor teleportation
This commit is contained in:
@@ -14,6 +14,7 @@ using OpenRA.Activities;
|
||||
using OpenRA.Graphics;
|
||||
using OpenRA.Mods.Common.Activities;
|
||||
using OpenRA.Mods.Common.Graphics;
|
||||
using OpenRA.Primitives;
|
||||
using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Traits
|
||||
@@ -115,4 +116,9 @@ namespace OpenRA.Mods.Common.Traits
|
||||
void MovementCancelled(Actor self);
|
||||
void RequestTransport(CPos destination, Activity afterLandActivity);
|
||||
}
|
||||
|
||||
public interface IDeathActorInitModifier
|
||||
{
|
||||
void ModifyDeathActorInit(Actor self, TypeDictionary init);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user