aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
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();