MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / actor_kill

Function actor_kill

TheForceEngine/TFE_DarkForces/Actor/actor.cpp:1931–1935  ·  view source on GitHub ↗

Kill the actor, this clears the current logic so the rest of the task function proceeds correctly.

Source from the content-addressed store, hash-verified

1929
1930 // Kill the actor, this clears the current logic so the rest of the task function proceeds correctly.
1931 void actor_kill()
1932 {
1933 actorLogicCleanupFunc(s_actorState.curLogic);
1934 s_actorState.curLogic = nullptr;
1935 }
1936
1937 // Removes logics other than the current Logic.
1938 void actor_removeLogics(SecObject* obj)

Callers 4

sewerCreatureDamageFuncFunction · 0.85
sceneryLogicFuncFunction · 0.85
exploderFuncFunction · 0.85
defaultDamageFuncFunction · 0.85

Calls 1

actorLogicCleanupFuncFunction · 0.85

Tested by

no test coverage detected