MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / SetShotRadarGfxBlock

Method SetShotRadarGfxBlock

src/lua/LuaCallOuts.cpp:2117–2123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2115
2116
2117int LuaCallOuts::SetShotRadarGfxBlock(lua_State* L) {
2118 ShotPath* shot = const_cast<ShotPath*>(ParseShot(L, 1));
2119 if (shot == NULL) {
2120 return luaL_pushnil(L);
2121 }
2122 return Set_GfxBlock(L, shot->getRadarGfxBlock());
2123}
2124
2125
2126int LuaCallOuts::GetShotRadarGfxBlock(lua_State* L) {

Callers

nothing calls this directly

Calls 3

ParseShotFunction · 0.85
luaL_pushnilFunction · 0.85
Set_GfxBlockFunction · 0.85

Tested by

no test coverage detected