scripted_sequence: Only .ReleaseThink() when we're actually moving the entity...
This commit is contained in:
parent
6298688e05
commit
b50b803b55
1 changed files with 2 additions and 3 deletions
|
@ -369,12 +369,11 @@ scripted_sequence::InitIdle(void)
|
|||
}
|
||||
}
|
||||
|
||||
/* The entity may be configured to reposition itself on ::Respawn...*/
|
||||
f.ReleaseThink();
|
||||
|
||||
/* FIXME: does this filter apply to other types as well? */
|
||||
if (m_iMove != SS_NO) {
|
||||
NSLog("^2scripted_sequence::^3InitIdle^7: Moving %S to %v", m_strMonster, GetOrigin());
|
||||
/* The entity may be configured to reposition itself on ::Respawn...*/
|
||||
f.ReleaseThink();
|
||||
setorigin(f, GetOrigin());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue