Core/Movement: cleanup MovementGeneratorType

(cherry picked from commit fce974c3b3)
This commit is contained in:
ccrs
2017-03-25 12:02:25 +01:00
committed by funjoker
parent 6f523b4fb6
commit dbe54973fb
2 changed files with 5 additions and 7 deletions

View File

@@ -159,7 +159,7 @@ MovementGeneratorType MotionMaster::GetCurrentMovementGeneratorType() const
MovementGeneratorType MotionMaster::GetMotionSlotType(int slot) const
{
if (!_slot[slot])
return NULL_MOTION_TYPE;
return MAX_MOTION_TYPE;
else
return _slot[slot]->GetMovementGeneratorType();
}