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

Method GetShotRadarGfxBlock

src/lua/LuaCallOuts.cpp:2126–2132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2124
2125
2126int LuaCallOuts::GetShotRadarGfxBlock(lua_State* L) {
2127 const ShotPath* shot = ParseShot(L, 1);
2128 if (shot == NULL) {
2129 return luaL_pushnil(L);
2130 }
2131 return Get_GfxBlock(L, shot->getRadarGfxBlock());
2132}
2133
2134
2135//============================================================================//

Callers

nothing calls this directly

Calls 3

ParseShotFunction · 0.85
luaL_pushnilFunction · 0.85
Get_GfxBlockFunction · 0.85

Tested by

no test coverage detected