From e643d3994ce3b410fcee293885c66b6577871a9e Mon Sep 17 00:00:00 2001 From: megamage Date: Tue, 21 Apr 2009 14:20:00 -0500 Subject: *Fix the bug that some mount spells show two mounts, one on the other. --HG-- branch : trunk --- src/game/Unit.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/game/Unit.cpp') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 4288ce1e58f..475a3dc5db7 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -9582,12 +9582,10 @@ float Unit::GetPPMProcChance(uint32 WeaponSpeed, float PPM, const SpellEntry * s void Unit::Mount(uint32 mount) { - if(!mount) - return; - RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_MOUNT); - SetUInt32Value(UNIT_FIELD_MOUNTDISPLAYID, mount); + if(mount) + SetUInt32Value(UNIT_FIELD_MOUNTDISPLAYID, mount); SetFlag( UNIT_FIELD_FLAGS, UNIT_FLAG_MOUNT ); -- cgit v1.2.3