MCPcopy Create free account
hub / github.com/DavidColson/Polybox / LuaEnableFog

Function LuaEnableFog

source/bind_graphics.cpp:297–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295// ***********************************************************************
296
297int 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

Callers

nothing calls this directly

Calls 1

EnableFogFunction · 0.85

Tested by

no test coverage detected