Correctly limit use some flask types to zones.

Typo in IsSpellAllowedInLocation.
This commit is contained in:
VladimirMangos 2008-10-25 08:11:41 +04:00
parent 51b2290be6
commit f187226451

View file

@ -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