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