Merge pull request #9004 from reaperrr/quanbo
Introduce QuantizeFacingsFromSequence
This commit is contained in:
@@ -27,11 +27,6 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
[SequenceReference] public readonly string WakeRightSequence = "wake-right";
|
||||
|
||||
public override object Create(ActorInitializer init) { return new WithGunboatBody(init, this); }
|
||||
|
||||
public override int QuantizedBodyFacings(ActorInfo ai, SequenceProvider sequenceProvider, string faction)
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
class WithGunboatBody : WithSpriteBody, ITick
|
||||
|
||||
Reference in New Issue
Block a user