mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
Update Waypoint System and Commands
Update Waypoint System and Commands
This commit is contained in:
parent
870b4dd0a4
commit
6ac38a0d65
48 changed files with 455 additions and 323 deletions
|
|
@ -37,6 +37,8 @@
|
|||
#include "ObjectGuid.h"
|
||||
#include "World.h"
|
||||
|
||||
#include <mutex>
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#define CLASS_LOCK MaNGOS::ClassLevelLockable<ObjectAccessor, ACE_Thread_Mutex>
|
||||
|
|
|
|||
|
|
@ -40,6 +40,8 @@
|
|||
#include "Player.h"
|
||||
#include "Corpse.h"
|
||||
|
||||
#include <mutex>
|
||||
|
||||
#include <set>
|
||||
#include <list>
|
||||
|
||||
|
|
|
|||
|
|
@ -9568,7 +9568,7 @@ bool Unit::SelectHostileTarget()
|
|||
|
||||
// check if currently selected target is reachable
|
||||
// NOTE: path alrteady generated from AttackStart()
|
||||
if (!GetMotionMaster()->operator->()->IsReachable())
|
||||
if (!GetMotionMaster()->GetCurrent()->IsReachable())
|
||||
{
|
||||
// remove all taunts
|
||||
RemoveSpellsCausingAura(SPELL_AURA_MOD_TAUNT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue