*Fix the bug that stun make eating/drinking cannot be interrupted.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user