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

Function zEntPlayer_LassoNotify

src/SB/Game/zEntPlayer.cpp:3095–3107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3093
3094static class zNPCLassoInfo* sCurrentNPCInfo;
3095void zEntPlayer_LassoNotify(en_LASSO_EVENT event)
3096{
3097 switch (event)
3098 {
3099 case LASS_EVNT_GRABEND:
3100 zLasso_SetGuide(sCurrentNPCInfo->lassoee, sCurrentNPCInfo->holdGuideAnim);
3101 break;
3102 case LASS_EVNT_ABORT:
3103 globals.player.lassoInfo.lasso.flags = 0;
3104 globals.player.lassoInfo.target = NULL;
3105 break;
3106 }
3107}
3108
3109static unsigned int sShouldMelee;
3110static U32 MeleeCheck(xAnimTransition*, xAnimSingle* anim, void*)

Callers

nothing calls this directly

Calls 1

zLasso_SetGuideFunction · 0.70

Tested by

no test coverage detected