From 93b6d510271ddc82b790ddb678b9890efb6f6bcc Mon Sep 17 00:00:00 2001 From: NoFantasy Date: Wed, 22 Apr 2009 15:34:28 +0400 Subject: [PATCH] [7695] Fixed typo & -> && Signed-off-by: VladimirMangos --- src/game/Unit.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 7b38fdee..dbf482bb 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7216,7 +7216,7 @@ bool Unit::AttackStop(bool targetSwitch /*=false*/) void Unit::CombatStop(bool cast) { - if(cast& IsNonMeleeSpellCasted(false)) + if (cast && IsNonMeleeSpellCasted(false)) InterruptNonMeleeSpells(false); AttackStop(); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index d995f89e..1b89a697 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7694" + #define REVISION_NR "7695" #endif // __REVISION_NR_H__ -- 2.11.4.GIT