aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-01 21:22:11 -0600
committermegamage <none@none>2009-01-01 21:22:11 -0600
commit4b8d590774563c08667c5933d6ce2255c0c08108 (patch)
treef4f97a71b0d5d8fbcbbe55dd40deae6503fa77f7 /src
parentf82e2395bd02a1d87cb8677d80f7d3f6742ca250 (diff)
*Fix the bug that stun make eating/drinking cannot be interrupted.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index b65f3860e90..ee4ca89eaa5 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -9708,7 +9708,7 @@ void Unit::SetInCombatWith(Unit* enemy)
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);
//Call creature group update