This commit is contained in:
parent
9608483c92
commit
3d3857b89a
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ bool CNpc::processSensor()
|
||||||
if ( playerXDistSqr + playerYDistSqr < 10000 )
|
if ( playerXDistSqr + playerYDistSqr < 10000 )
|
||||||
{
|
{
|
||||||
m_controlFunc = NPC_CONTROL_CLOSE;
|
m_controlFunc = NPC_CONTROL_CLOSE;
|
||||||
m_evadeClockwise = ( getRnd() % 2 ) - 1;
|
m_evadeClockwise = getRnd() % 2;
|
||||||
|
|
||||||
return( true );
|
return( true );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue