| 814 | } |
| 815 | |
| 816 | bool Detector::TestVehicle(Vehicle* veh, Vector3Par f1, Vector3Par f2) |
| 817 | { |
| 818 | if (veh && !veh->IsDammageDestroyed()) |
| 819 | { |
| 820 | Vector3 pos = veh->WorldTransform().Position(); |
| 821 | return IsInside(pos, f1, f2); |
| 822 | } |
| 823 | return false; |
| 824 | } |
| 825 | |
| 826 | bool Detector::TestVehicle(AICenter* center, Vehicle* veh, Vector3Par f1, Vector3Par f2) |
| 827 | { |
nothing calls this directly
no test coverage detected