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

Function LassoSwingReleaseCB

src/SB/Game/zEntPlayer.cpp:3523–3538  ·  view source on GitHub ↗

Really odd scheduling. Maybe equivalent?

Source from the content-addressed store, hash-verified

3521
3522// Really odd scheduling. Maybe equivalent?
3523static U32 LassoSwingReleaseCB(xAnimTransition* tran, xAnimSingle* anim, void* object)
3524{
3525 zEntPlayer_SNDStop(ePlayerSnd_Heli);
3526 idle_tmr = 0.0f;
3527 sTimeToRetarget = 0.5f;
3528 sLassoInfo->canCopter = 1;
3529 globals.player.Jump_CanDouble = 1;
3530 globals.player.IsDJumping = 0;
3531 sLassoCamLinger = 1;
3532 sLassoInfo->swingTarget = NULL;
3533 sLasso->flags = 0;
3534
3535 JumpCB(tran, anim, object);
3536
3537 return 0;
3538}
3539
3540static U8 StunBubbleTrail(xAnimSingle* anim)
3541{

Callers

nothing calls this directly

Calls 2

zEntPlayer_SNDStopFunction · 0.85
JumpCBFunction · 0.85

Tested by

no test coverage detected