MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / zLightReset

Function zLightReset

src/SB/Game/zLight.cpp:157–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void zLightReset(_zLight* param_1)
158{
159 xBaseReset(param_1, param_1->tasset);
160 param_1->flags = 0;
161 if (param_1->tasset->lightFlags & 0x20)
162 {
163 param_1->flags = param_1->flags | 1;
164 }
165 zLightEffectSet(param_1, param_1->tasset->lightEffect);
166}
167
168void zLightSave(_zLight* ent, xSerial* s)
169{

Callers 1

zLightEventCBFunction · 0.85

Calls 2

xBaseResetFunction · 0.85
zLightEffectSetFunction · 0.85

Tested by

no test coverage detected