I removed the
And it fixes it in a good way (It can bombard at its range, but not when its hidden in fog of war). I.E. it cant fire in non visible areas, but it can fire if f.ex. a plane does recon mission or a friendly unit is close to target so it can "spot" it.
There is one thing though. The yellow borders are still there, and not showing as with planes, but with features/hills blocking.
The reason why I want to let sieges be able to shoot over forest and hills is that Arty, Mobile Arty and especially Rocket Arty shouldnt be blocked at range 1 coz of a small forest or similar.
Code:
if (!pPlot->canSeePlot(pTargetPlot, getTeam(), airRange(), getFacingDirection(true)))
{
return false;
}
And it fixes it in a good way (It can bombard at its range, but not when its hidden in fog of war). I.E. it cant fire in non visible areas, but it can fire if f.ex. a plane does recon mission or a friendly unit is close to target so it can "spot" it.
There is one thing though. The yellow borders are still there, and not showing as with planes, but with features/hills blocking.
The reason why I want to let sieges be able to shoot over forest and hills is that Arty, Mobile Arty and especially Rocket Arty shouldnt be blocked at range 1 coz of a small forest or similar.