From ee31661bb893b96ea27c9c6be60832b23555a444 Mon Sep 17 00:00:00 2001 From: Revils Date: Fri, 28 May 2010 15:04:17 +0400 Subject: [PATCH] [9994] Fixed a bug/typo that prevent to summon a special flying mount. Signed-off-by: VladimirMangos --- src/game/Spell.cpp | 4 +++- src/shared/revision_nr.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 966f07454..85fb3b658 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -6616,8 +6616,10 @@ void Spell::SelectMountByAreaAndSkill(Unit* target, uint32 spellId75, uint32 spe // speed higher than 280 replace it if (mountSpeed > 280) + { target->CastSpell(target, spellIdSpecial, true); - return; + return; + } } } } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index e53e78914..d84e0e677 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 "9993" + #define REVISION_NR "9994" #endif // __REVISION_NR_H__