[11100] Avoid send SMSG_DISMOUNT for non aura source mount state.

This fix problem with lost mount show at multi-node taxi path.

Thanks to blueboy for research problem.
This commit is contained in:
VladimirMangos 2011-02-02 17:30:18 +03:00
parent 6f74fa1be8
commit 06cebecd50
5 changed files with 12 additions and 8 deletions

View file

@ -1469,7 +1469,7 @@ void WorldSession::HandleCancelMountAuraOpcode( WorldPacket & /*recv_data*/ )
return;
}
_player->Unmount();
_player->Unmount(_player->HasAuraType(SPELL_AURA_MOUNTED));
_player->RemoveSpellsCausingAura(SPELL_AURA_MOUNTED);
}