diff options
Diffstat (limited to 'src/game/MotionMaster.cpp')
| -rw-r--r-- | src/game/MotionMaster.cpp | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/MotionMaster.cpp b/src/game/MotionMaster.cpp index b64c17b6342..170a9b52211 100644 --- a/src/game/MotionMaster.cpp +++ b/src/game/MotionMaster.cpp @@ -460,6 +460,14 @@ MovementGeneratorType MotionMaster::GetCurrentMovementGeneratorType() const     return top()->GetMovementGeneratorType();  } +MovementGeneratorType MotionMaster::GetMotionSlotType(int slot) const +{ +    if(!Impl[slot]) +        return NULL_MOTION_TYPE; +    else +        return Impl[slot]->GetMovementGeneratorType(); +} +  void MotionMaster::InitTop()  {      top()->Initialize(*i_owner);  | 
