MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / VisEffectSetDeadFlag

Function VisEffectSetDeadFlag

Descent3/viseffect.cpp:2013–2022  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2011}
2012
2013void VisEffectSetDeadFlag(vis_effect *vis) {
2014 if (vis->flags & VF_DEAD)
2015 return;
2016 if (vis->type == VIS_NONE)
2017 return;
2018
2019 vis->flags |= VF_DEAD;
2020
2021 VisDeadList[NumVisDead++] = vis - VisEffects;
2022}
2023
2024// Moves
2025void VisEffectMoveOne(vis_effect *vis) {

Callers 1

VisEffectMoveOneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected