Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[9888] Party restore IsKnowHowFlyIn and add area arg
- Loading branch information
Showing
4 changed files
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
VladimirMangos
|
||
{ | ||
uint32 zone; | ||
uint32 area; | ||
GetZoneAndAreaId(zone, area); | ||
// continent checked in SpellMgr::GetSpellAllowedInLocationError at cast and area update | ||
uint32 v_map = GetVirtualMapForMapAndZone(mapid, zone); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#ifndef __REVISION_NR_H__ | ||
#define __REVISION_NR_H__ | ||
#define REVISION_NR "9887" | ||
#define REVISION_NR "9888" | ||
#endif // __REVISION_NR_H__ |
IsKnowHowFlyIn doesnt accept two arguments.... this commit breaks the build