*Fix build.
--HG-- branch : trunk
This commit is contained in:
1 parent
21b4930682
commit
53d0bf87ad
10 files changed
+34
-32
No files matched your search
+2
-2
@@ -2341,7 +2341,7 @@ bool ChatHandler::HandleWpLoadPathCommand(const char *args)
|
||||
target->LoadPath(pathid);
|
||||
target->SetDefaultMovementType(WAYPOINT_MOTION_TYPE);
|
||||
target->GetMotionMaster()->Initialize();
|
||||
target->Say("Path loaded.",0,0);
|
||||
target->MonsterSay("Path loaded.",0,0);
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -2384,7 +2384,7 @@ bool ChatHandler::HandleWpUnLoadPathCommand(const char *args)
|
||||
target->SetDefaultMovementType(IDLE_MOTION_TYPE);
|
||||
target->GetMotionMaster()->MoveTargetedHome();
|
||||
target->GetMotionMaster()->Initialize();
|
||||
target->Say("Path unloaded.",0,0);
|
||||
target->MonsterSay("Path unloaded.",0,0);
|
||||
return true;
|
||||
}
|
||||
PSendSysMessage("%s%s|r", "|cffff33ff", "Target have no loaded path.");
|
||||
|
||||
Reference in new issue
Block a user