Change QuantizeFacing to return a facing instead of an index.

This commit is contained in:
Paul Chote
2020-05-27 22:00:49 +01:00
committed by reaperrr
parent 7c6ec577dc
commit bfb6c671fb
8 changed files with 49 additions and 13 deletions

View File

@@ -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);
}
}
}