| 2766 | |
| 2767 | |
| 2768 | int LuaCallOuts::GetShotTeam(lua_State* L) { |
| 2769 | const ShotPath* shot = ParseShot(L, 1); |
| 2770 | if (shot == NULL) { |
| 2771 | return luaL_pushnil(L); |
| 2772 | } |
| 2773 | lua_pushinteger(L, shot->getTeam()); |
| 2774 | return 1; |
| 2775 | } |
| 2776 | |
| 2777 | |
| 2778 | int LuaCallOuts::GetShotPosition(lua_State* L) { |
nothing calls this directly
no test coverage detected