| 943 | |
| 944 | |
| 945 | int LuaSpatial::GetRadarShots(lua_State* L) { |
| 946 | BoxData box; |
| 947 | if (!GetRadarBox(box)) { |
| 948 | lua_newtable(L); |
| 949 | return 1; |
| 950 | } |
| 951 | std::vector<const ShotPath*> hits; |
| 952 | CheckShots(ShotInBox, box, hits); |
| 953 | PushShots(L, hits); |
| 954 | return 1; |
| 955 | } |
| 956 | |
| 957 | |
| 958 | //============================================================================// |
nothing calls this directly
no test coverage detected