From 26c71c0743b1fa506206bb45f44be661a00e344c Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 7 Jun 2001 18:51:47 +0000 Subject: [PATCH] --- source/enemy/nclam.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/enemy/nclam.cpp b/source/enemy/nclam.cpp index 15f4f47f1..763d30ca3 100644 --- a/source/enemy/nclam.cpp +++ b/source/enemy/nclam.cpp @@ -236,6 +236,9 @@ void CNpcStaticClamEnemy::processClose( int _frames ) if ( !m_isStunned ) { m_controlFunc = NPC_CONTROL_MOVEMENT; + m_timerFunc = NPC_TIMER_ATTACK_DONE; + m_timerTimer = getRnd() % ( 3 * GameState::getOneSecondInFrames() ); + m_sensorFunc = NPC_SENSOR_NONE; } }