MCPcopy Create free account
hub / github.com/JACoders/OpenJK / SetParent

Method SetParent

code/icarus/Sequence.cpp:199–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197*/
198
199void CSequence::SetParent( CSequence *parent )
200{
201 m_parent = parent;
202
203 if ( parent == NULL )
204 return;
205
206 //Inherit the parent's properties (this avoids messy tree walks later on)
207 if ( parent->m_flags & SQ_RETAIN )
208 m_flags |= SQ_RETAIN;
209
210 if ( parent->m_flags & SQ_PENDING )
211 m_flags |= SQ_PENDING;
212}
213
214/*
215-------------------------

Callers 7

DeleteMethod · 0.45
MarkTaskMethod · 0.45
FlushMethod · 0.45
AddSequenceMethod · 0.45
ParseTaskMethod · 0.45
CheckDoMethod · 0.45
RemoveSequenceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected