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

Method LassoInit

src/SB/Game/zNPCTypeCommon.cpp:3252–3266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3250}
3251
3252S32 zNPCCommon::LassoInit()
3253{
3254 lassdata = PRIV_GetLassoData();
3255 if (lassdata != NULL)
3256 {
3257 memset(lassdata, 0, 0x18);
3258 lassdata->stage = LASS_STAT_PENDING;
3259 lassdata->lassoee = this;
3260 }
3261 if (lassdata)
3262 {
3263 return 1;
3264 }
3265 return 0;
3266}
3267
3268S32 zNPCCommon::LassoSetup()
3269{

Callers 1

SetupMethod · 0.95

Calls 1

memsetFunction · 0.85

Tested by

no test coverage detected