```c++
angleplus += 0.1f;
angleminus -= 0.1f;
```
because it is necessary to calculate.

although it can be done differently:
```c++
float angle = _owner->GetAngle(srcX, srcY) + M_PI;
float anglediff = 0.f;   

_owner->GetNearPoint(_owner, x, y, z, _owner->GetObjectSize(), dist, angle);
while (!_owner->IsWithinLOS(x,y,z))
{
    anglediff += 0.1f;
    _owner->GetNearPoint(_owner, x, y, z, _owner->GetObjectSize(), dist, angle + anglediff);
    if (!_owner->IsWithinLOS(x,y,z))
        _owner->GetNearPoint(_owner, x, y, z, _owner->GetObjectSize(), dist, angle - anglediff);
    if (anglediff > angle) // I'm not sure that
        return;
}
```