mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[9211] Fixed recent build problems at *nix.
Thanks to DasBlub and Lightguard for teating. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
de4d8c3a04
commit
a6a5935406
4 changed files with 15 additions and 10 deletions
|
|
@ -184,8 +184,8 @@ bool TargetedMovementGeneratorMedium<T,D>::Update(T &owner, const uint32 & time_
|
|||
template<class T>
|
||||
void ChaseMovementGenerator<T>::_reachTarget(T &owner)
|
||||
{
|
||||
if(owner.canReachWithAttack(i_target.getTarget()))
|
||||
owner.Attack(i_target.getTarget(),true);
|
||||
if(owner.canReachWithAttack(this->i_target.getTarget()))
|
||||
owner.Attack(this->i_target.getTarget(),true);
|
||||
}
|
||||
|
||||
template<>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue