diff options
author | ariel- <ariel-@users.noreply.github.com> | 2016-11-19 15:43:22 -0300 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2018-01-21 14:51:49 +0100 |
commit | 2c022a5aa8123d12cfdc681000eeb62be039aff1 (patch) | |
tree | fb175272c335e108d80aed3c73d074f4438862e4 /src/common/Collision/Models/GameObjectModel.h | |
parent | 771ec0b2256e0f88b365e47af5b8d837a3cae445 (diff) |
Core/Entities: fix interaction of traps with ffa pvp and sanctuary flags
- Traps should select ATTACKABLE not UNFRIENDLY targets (it shouldn't attack unfriendly targets on sanctuary zones for example)
- Made more readable the nasty oneliner in Unit::_IsValidAttackTarget
Closes #6464
Closes #18271
(cherry picked from commit ef227d7e64a3dc62fbf0cba0209202310b1af00b)
Diffstat (limited to 'src/common/Collision/Models/GameObjectModel.h')
0 files changed, 0 insertions, 0 deletions