From 50916cc0b70adc14e3ae8fedb04c0ed0f9d8d85e Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Sat, 5 Dec 2009 19:33:49 +0100 Subject: Fixed a bug which prevented monsters from attacking --- src/game-server/monster.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/game-server/monster.cpp b/src/game-server/monster.cpp index fe74ea6a..c05fd418 100644 --- a/src/game-server/monster.cpp +++ b/src/game-server/monster.cpp @@ -271,7 +271,6 @@ void Monster::update() setDirection(bestAttackDirection); //perform a random attack based on priority mCurrentAttack = workingAttacks.upper_bound(rand()%prioritySum)->second; - setTimerSoft(T_B_ATTACK_TIME, mCurrentAttack->preDelay + mCurrentAttack->aftDelay); setAction(ATTACK); raiseUpdateFlags(UPDATEFLAG_ATTACK); } -- cgit v1.2.3-70-g09d2