Remove redundant IBodyOrientation[Info] & replace with BodyOrientation[Info]
This commit is contained in:
@@ -46,7 +46,7 @@ namespace OpenRA.Mods.TS.Traits
|
||||
|
||||
public WithVoxelUnloadBody(Actor self, WithVoxelUnloadBodyInfo info)
|
||||
{
|
||||
var body = self.Trait<IBodyOrientation>();
|
||||
var body = self.Trait<BodyOrientation>();
|
||||
var rv = self.Trait<RenderVoxels>();
|
||||
|
||||
var idleVoxel = VoxelProvider.GetVoxel(rv.Image, info.IdleSequence);
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace OpenRA.Mods.TS.Traits
|
||||
this.info = info;
|
||||
movement = self.Trait<IMove>();
|
||||
|
||||
var body = self.Trait<IBodyOrientation>();
|
||||
var body = self.Trait<BodyOrientation>();
|
||||
var rv = self.Trait<RenderVoxels>();
|
||||
|
||||
var voxel = VoxelProvider.GetVoxel(rv.Image, "idle");
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace OpenRA.Mods.TS.Traits
|
||||
{
|
||||
this.self = self;
|
||||
|
||||
var body = self.Trait<IBodyOrientation>();
|
||||
var body = self.Trait<BodyOrientation>();
|
||||
var rv = self.Trait<RenderVoxels>();
|
||||
|
||||
var landVoxel = VoxelProvider.GetVoxel(rv.Image, info.LandSequence);
|
||||
|
||||
Reference in New Issue
Block a user