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

Method GetShotGfxBlock

src/lua/LuaCallOuts.cpp:2108–2114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2106
2107
2108int LuaCallOuts::GetShotGfxBlock(lua_State* L) {
2109 const ShotPath* shot = ParseShot(L, 1);
2110 if (shot == NULL) {
2111 return luaL_pushnil(L);
2112 }
2113 return Get_GfxBlock(L, shot->getGfxBlock());
2114}
2115
2116
2117int LuaCallOuts::SetShotRadarGfxBlock(lua_State* L) {

Callers

nothing calls this directly

Calls 3

ParseShotFunction · 0.85
luaL_pushnilFunction · 0.85
Get_GfxBlockFunction · 0.85

Tested by

no test coverage detected