Drop an indentation level in UnitMotion.
This will simplify later changes.
Differential Revision: https://code.wildfiregames.com/D1893
|wraitii||Jun 10 2019, 7:15 PM|
|Build 12815: Trigger Windows Autobuild|
|Build 12814: Post-Commit Build||Jenkins|
There is a small logic change in so far as that the default: case is now doing what is done below, whereas before that code below was only called for PATHSTATE_FOLLOWING*. I suppose this is equivalent since the default case might never occur unless the m_PathState is somehow broken before. Actually if the default case can never occur, then one can drop yet another indentation level?
One could also go a step further and split this into two separate functions.
(No requested changes or concern in this post)