Change QuantizeFacing to return a facing instead of an index.
This commit is contained in:
@@ -44,7 +44,7 @@ namespace OpenRA.Mods.Cnc.Graphics
|
||||
|
||||
protected override int GetFacingFrameOffset(WAngle facing)
|
||||
{
|
||||
return Util.ClassicQuantizeFacing(facing.Facing, Facings, useClassicFacings);
|
||||
return useClassicFacings ? Util.ClassicIndexFacing(facing.Facing, Facings) : Common.Util.IndexFacing(facing.Facing, Facings);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user