Checks to see if object has a clear shot
| 572 | |
| 573 | // Checks to see if object has a clear shot |
| 574 | int HasClearShot(tShotData *shot_data) { |
| 575 | // Traverse the shot trajectory, gathering data |
| 576 | TraverseShotPath(shot_data); |
| 577 | |
| 578 | // Analyze the shot data |
| 579 | return (ShotIsClear(shot_data->risk_factor)); |
| 580 | } |
| 581 | |
| 582 | // ========================== |
| 583 | // Script class definitions |
no test coverage detected