MCPcopy Create free account
hub / github.com/ZDoom/Raze / DoBeginFall

Function DoBeginFall

source/games/sw/src/actor.cpp:926–936  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

924//---------------------------------------------------------------------------
925
926int DoBeginFall(DSWActor* actor)
927{
928 actor->user.Flags |= (SPR_FALLING);
929 actor->user.Flags &= ~(SPR_JUMPING);
930
931 actor->user.jump_grav = ACTOR_GRAVITY;
932
933 DoFall(actor);
934
935 return 0;
936}
937
938//---------------------------------------------------------------------------
939//

Callers 4

DoEelDeathFunction · 0.85
DoHornetDeathFunction · 0.85
DoCoolgDeathFunction · 0.85
DoJumpFunction · 0.85

Calls 1

DoFallFunction · 0.85

Tested by

no test coverage detected