*Do not let Steady shot pause autoshot timer.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-11-25 17:58:06 -06:00
parent f6ea784eda
commit 99cf79bdf7
7 changed files with 16 additions and 14 deletions

View File

@@ -283,7 +283,8 @@ void Unit::Update( uint32 p_time )
}
}
if(!hasUnitState(UNIT_STAT_CASTING))
//not implemented before 3.0.2
//if(!hasUnitState(UNIT_STAT_CASTING))
{
if(uint32 base_att = getAttackTimer(BASE_ATTACK))
setAttackTimer(BASE_ATTACK, (p_time >= base_att ? 0 : base_att - p_time) );