*Fix the bug that stun make eating/drinking cannot be interrupted.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-01-01 21:22:11 -06:00
parent f82e2395bd
commit 4b8d590774
+1 -1
View File
@@ -9708,7 +9708,7 @@ void Unit::SetInCombatWith(Unit* enemy)
void Unit::CombatStart(Unit* target) void Unit::CombatStart(Unit* target)
{ {
if(!target->IsStandState() && !target->hasUnitState(UNIT_STAT_STUNNED)) if(!target->IsStandState()/* && !target->hasUnitState(UNIT_STAT_STUNNED)*/)
target->SetStandState(PLAYER_STATE_NONE); target->SetStandState(PLAYER_STATE_NONE);
//Call creature group update //Call creature group update