mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Correctly limit use some flask types to zones.
Typo in IsSpellAllowedInLocation.
This commit is contained in:
parent
51b2290be6
commit
f187226451
1 changed files with 1 additions and 1 deletions
|
|
@ -2059,7 +2059,7 @@ bool IsSpellAllowedInLocation(SpellEntry const *spellInfo,uint32 map_id,uint32 z
|
||||||
// in the Blade's Edge Mountains Plateaus and Gruul's Lair.
|
// in the Blade's Edge Mountains Plateaus and Gruul's Lair.
|
||||||
return zone_id ==3522 || map_id==565;
|
return zone_id ==3522 || map_id==565;
|
||||||
}
|
}
|
||||||
if(mask & ELIXIR_UNSTABLE_MASK)
|
if(mask & ELIXIR_SHATTRATH_MASK)
|
||||||
{
|
{
|
||||||
// in Tempest Keep, Serpentshrine Cavern, Caverns of Time: Mount Hyjal, Black Temple
|
// in Tempest Keep, Serpentshrine Cavern, Caverns of Time: Mount Hyjal, Black Temple
|
||||||
// TODO: and the Sunwell Plateau
|
// TODO: and the Sunwell Plateau
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue