TrinityCore/TrinityCore — comment on commit d59c5e627fd023d3767bd8eb3e1eb4384d971bde
File: src/server/game/Entities/Unit/Unit.cpp line 1929
By Warpten:

Just looked at the function, there's a quite similar check line 1923:

```c++
if ((attType == BASE_ATTACK || attType == OFF_ATTACK) && !IsWithinLOSInMap(victim))
return;
```