aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-07 00:53:01 -0600
committermegamage <none@none>2009-03-07 00:53:01 -0600
commit5627f5e8383e879aba32623c95169f48af0e147b (patch)
treed8434f54e13027da8dd3881494cd3af0cdff8790 /src/game/Unit.cpp
parent6ae4f909d0640c6ad3880459a340ee747c75693b (diff)
*Fix a typo and add some missing content.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-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 a3fc2400208..7bdb3b28d27 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -8342,7 +8342,7 @@ bool Unit::AttackStop()
void Unit::CombatStop(bool cast)
{
- if(cast& IsNonMeleeSpellCasted(false))
+ if(cast && IsNonMeleeSpellCasted(false))
InterruptNonMeleeSpells(false);
AttackStop();