| 295 | // *********************************************************************** |
| 296 | |
| 297 | int LuaEnableFog(lua_State* pLua) { |
| 298 | luaL_checktype(pLua, -1, LUA_TBOOLEAN); |
| 299 | bool enabled = lua_toboolean(pLua, -1) != 0; |
| 300 | EnableFog(enabled); |
| 301 | return 0; |
| 302 | } |
| 303 | |
| 304 | // *********************************************************************** |
| 305 |
nothing calls this directly
no test coverage detected