--HG--
branch : trunk
This commit is contained in:
QAston
2009-07-22 17:11:20 +02:00
3 changed files with 9 additions and 8 deletions
+2 -2
View File
@@ -17583,8 +17583,8 @@ bool Player::ActivateTaxiPathTo(std::vector<uint32> const& nodes, Creature* npc
if(nodes.size() < 2)
return false;
// not let cheating with start flight in time of logout process || if casting not finished || while in combat || if not use Spell's with EffectSendTaxi
if(GetSession()->isLogingOut() || isInCombat())
// not let cheating with start flight in time of logout process || while in combat || has type state: stunned || has type state: root
if(GetSession()->isLogingOut() || isInCombat() || hasUnitState(UNIT_STAT_STUNNED) || hasUnitState(UNIT_STAT_ROOT))
{
WorldPacket data(SMSG_ACTIVATETAXIREPLY, 4);
data << uint32(ERR_TAXIPLAYERBUSY);