| 2796 | |
| 2797 | |
| 2798 | int LuaCallOuts::GetShotLifeTime(lua_State* L) { |
| 2799 | const ShotPath* shot = ParseShot(L, 1); |
| 2800 | if (shot == NULL) { |
| 2801 | return luaL_pushnil(L); |
| 2802 | } |
| 2803 | lua_pushfloat(L, shot->getLifetime()); |
| 2804 | return 1; |
| 2805 | } |
| 2806 | |
| 2807 | |
| 2808 | int LuaCallOuts::GetShotLeftTime(lua_State* L) { |
nothing calls this directly
no test coverage detected