From fd3fcb461253bb8d269faa90af877e1e3e8b12a8 Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 7 Nov 2008 09:36:46 -0600 Subject: [svn] Remove isVisible function. Check stealth and invisible in canAttack(); Use new remove aura by interrupt flag function. --HG-- branch : trunk --- src/game/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Player.cpp') diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 4b8a1e00d40..12d1dd99941 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -16546,7 +16546,7 @@ bool Player::ActivateTaxiPathTo(std::vector const& nodes, uint32 mount_i ModifyMoney(-(int32)totalcost); // prevent stealth flight - RemoveInterruptableAura(AURA_INTERRUPT_FLAG_STEALTH); + RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_STEALTH); WorldPacket data(SMSG_ACTIVATETAXIREPLY, 4); data << uint32(ERR_TAXIOK); -- cgit v1.2.3