mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[9888] Party restore IsKnowHowFlyIn and add area arg
This commit is contained in:
parent
a002f22916
commit
0344a8e838
4 changed files with 5 additions and 8 deletions
|
|
@ -20906,11 +20906,8 @@ uint32 Player::CalculateTalentsPoints() const
|
|||
return uint32(talentPointsForLevel * sWorld.getConfig(CONFIG_FLOAT_RATE_TALENT));
|
||||
}
|
||||
|
||||
bool Player::IsKnowHowFlyIn(uint32 mapid) const
|
||||
bool Player::IsKnowHowFlyIn(uint32 mapid, uint32 zone, uint32 area) const
|
||||
{
|
||||
uint32 zone;
|
||||
uint32 area;
|
||||
GetZoneAndAreaId(zone, area);
|
||||
// continent checked in SpellMgr::GetSpellAllowedInLocationError at cast and area update
|
||||
uint32 v_map = GetVirtualMapForMapAndZone(mapid, zone);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue