| 254 | // *********************************************************************** |
| 255 | |
| 256 | int LuaEnableLighting(lua_State* pLua) { |
| 257 | luaL_checktype(pLua, -1, LUA_TBOOLEAN); |
| 258 | bool enabled = lua_toboolean(pLua, -1) != 0; |
| 259 | EnableLighting(enabled); |
| 260 | return 0; |
| 261 | } |
| 262 | |
| 263 | // *********************************************************************** |
| 264 |
nothing calls this directly
no test coverage detected