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

Function MeleeStopCB

src/SB/Game/zEntPlayer.cpp:3360–3375  ·  view source on GitHub ↗

Equivalent: sda relocation scheduling

Source from the content-addressed store, hash-verified

3358
3359// Equivalent: sda relocation scheduling
3360static U32 MeleeStopCB(xAnimTransition*, xAnimSingle*, void*)
3361{
3362 idle_tmr = 0.0f;
3363
3364 if (globals.player.SundaeTimer < 0.0f)
3365 {
3366 globals.player.SpeedMult = 1.0f;
3367 }
3368 else
3369 {
3370 globals.player.SpeedMult = globals.player.g.SundaeMult;
3371 }
3372
3373 sShouldMelee = 0;
3374 return 0;
3375}
3376
3377static U32 SpatulaMeleeStopCB(xAnimTransition* tran, xAnimSingle* anim, void* data)
3378{

Callers 1

SpatulaMeleeStopCBFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected