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

Function MeleeCheck

src/SB/Game/zEntPlayer.cpp:3110–3123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3108
3109static unsigned int sShouldMelee;
3110static U32 MeleeCheck(xAnimTransition*, xAnimSingle* anim, void*)
3111{
3112 if (!sShouldMelee)
3113 {
3114 return 0;
3115 }
3116
3117 if (strcmp(anim->State->Name, "DJumpApex01") == 0 && anim->Time < 0.3f)
3118 {
3119 return 0;
3120 }
3121
3122 return 1;
3123}
3124
3125static U32 LassoStartCheck(xAnimTransition*, xAnimSingle*, void*)
3126{

Callers

nothing calls this directly

Calls 1

strcmpFunction · 0.85

Tested by

no test coverage detected