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

Function GooDeathCB

src/SB/Game/zEntPlayer.cpp:1842–1851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1840}
1841
1842static U32 GooDeathCB(xAnimTransition* tran, xAnimSingle* anim, void* param_3)
1843{
1844 // Decompiled, but instructions are out of order?
1845 globals.player.Health = 0;
1846 globals.player.DamageTimer = 10.0f;
1847 zGooStopTide();
1848 sPlayerDiedLastTime = 1;
1849 zEntPlayerControlOff(CONTROL_OWNER_GLOBAL);
1850 return false;
1851}
1852
1853static U32 Hit01Check(xAnimTransition* tran, xAnimSingle* anim, void* param_3)
1854{

Callers

nothing calls this directly

Calls 2

zGooStopTideFunction · 0.70
zEntPlayerControlOffFunction · 0.70

Tested by

no test coverage detected