| 2756 | |
| 2757 | |
| 2758 | int LuaCallOuts::GetShotPlayer(lua_State* L) { |
| 2759 | const ShotPath* shot = ParseShot(L, 1); |
| 2760 | if (shot == NULL) { |
| 2761 | return luaL_pushnil(L); |
| 2762 | } |
| 2763 | lua_pushinteger(L, shot->getPlayer()); |
| 2764 | return 1; |
| 2765 | } |
| 2766 | |
| 2767 | |
| 2768 | int LuaCallOuts::GetShotTeam(lua_State* L) { |
nothing calls this directly
no test coverage detected