This commit is contained in:
parent
12955a7a5f
commit
fe30698db8
6 changed files with 35 additions and 14 deletions
|
@ -916,8 +916,11 @@ void CNpcEnemy::collidedWith( CThing *_thisThing )
|
|||
|
||||
case DETECT_ALL_COLLISION:
|
||||
{
|
||||
m_oldControlFunc = m_controlFunc;
|
||||
m_controlFunc = NPC_CONTROL_COLLISION;
|
||||
if ( m_controlFunc != NPC_CONTROL_COLLISION )
|
||||
{
|
||||
m_oldControlFunc = m_controlFunc;
|
||||
m_controlFunc = NPC_CONTROL_COLLISION;
|
||||
}
|
||||
|
||||
processUserCollision( _thisThing );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue