diff --git a/source/enemy/npc.cpp b/source/enemy/npc.cpp index 760fc575a..a4251ed35 100644 --- a/source/enemy/npc.cpp +++ b/source/enemy/npc.cpp @@ -339,7 +339,7 @@ bool CNpc::processSensor() if ( playerXDistSqr + playerYDistSqr < 10000 ) { m_controlFunc = NPC_CONTROL_CLOSE; - m_evadeClockwise = ( getRnd() % 2 ) - 1; + m_evadeClockwise = getRnd() % 2; return( true ); }