barber shop race/gender checks, fly check for map 571

This commit is contained in:
tomrus88 2008-11-19 00:59:14 +03:00
parent 56c8d2549c
commit c0c0c9c776
8 changed files with 158 additions and 138 deletions

View file

@ -4703,14 +4703,14 @@ uint16 ObjectMgr::GetTaxiMount( uint32 id, uint32 team )
{
if (team == ALLIANCE)
{
mount_entry = node->alliance_mount_type;
mount_entry = node->MountCreatureID[1];
CreatureInfo const *ci = GetCreatureTemplate(mount_entry);
if(ci)
mount_id = ci->DisplayID_A;
}
if (team == HORDE)
{
mount_entry = node->horde_mount_type;
mount_entry = node->MountCreatureID[0];
CreatureInfo const *ci = GetCreatureTemplate(mount_entry);
if(ci)
mount_id = ci->DisplayID_H;