| 1624 | return 0; |
| 1625 | } |
| 1626 | static int SetSEVolume(lua_State* L)LNOEXCEPT |
| 1627 | { |
| 1628 | float x = static_cast<float>(luaL_checknumber(L, 1)); |
| 1629 | LRES.SetGlobalSoundEffectVolume(max(min(x, 1.f), 0.f)); |
| 1630 | return 0; |
| 1631 | } |
| 1632 | static int SetBGMVolume(lua_State* L)LNOEXCEPT |
| 1633 | { |
| 1634 | if (lua_gettop(L) == 1) |
nothing calls this directly
no test coverage detected