This commit is contained in:
Charles 2001-02-21 21:53:06 +00:00
parent 9608483c92
commit 3d3857b89a

View file

@ -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 );
} }