| 930 | |
| 931 | |
| 932 | int LuaSpatial::GetVisibleShots(lua_State* L) { |
| 933 | PlanesData planes; |
| 934 | if (!GetViewPlanes(planes)) { |
| 935 | lua_newtable(L); |
| 936 | return 1; |
| 937 | } |
| 938 | std::vector<const ShotPath*> hits; |
| 939 | CheckShots(ShotInPlanes, planes, hits); |
| 940 | PushShots(L, hits); |
| 941 | return 1; |
| 942 | } |
| 943 | |
| 944 | |
| 945 | int LuaSpatial::GetRadarShots(lua_State* L) { |
nothing calls this directly
no test coverage detected