*Fix a bug that mobs do not return home after wipe.
--HG-- branch : trunk
This commit is contained in:
1 parent
3421942b2b
commit
abe53c5cb6
3 files changed
+12
-2
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user