Quote from: "schlumpf"You really are horrible at answering questions.I have known that for some time.ChangesPlayer.CPPCode: [Select]{ // continent checked in SpellInfo::CheckLocation at cast and area update uint32 v_map = GetVirtualMapForMapAndZone(mapid, zone); v_map != 571 || HasSpell(54197); // 54197 = Cold Weather Flying return v_map != 869 || HasSpell(93333); // 93333 = Flight Master License}
You really are horrible at answering questions.
{ // continent checked in SpellInfo::CheckLocation at cast and area update uint32 v_map = GetVirtualMapForMapAndZone(mapid, zone); v_map != 571 || HasSpell(54197); // 54197 = Cold Weather Flying return v_map != 869 || HasSpell(93333); // 93333 = Flight Master License}
{ // continent checked in SpellInfo::CheckLocation at cast and area update uint32 v_map = GetVirtualMapForMapAndZone(mapid, zone); return (v_map != 571 || HasSpell(54197)) || (v_map != 869 || HasSpell(93333));}
Quote from: "Nupper"Quote from: "schlumpf"You really are horrible at answering questions.I have known that for some time.ChangesPlayer.CPPCode: [Select]{ // continent checked in SpellInfo::CheckLocation at cast and area update uint32 v_map = GetVirtualMapForMapAndZone(mapid, zone); v_map != 571 || HasSpell(54197); // 54197 = Cold Weather Flying return v_map != 869 || HasSpell(93333); // 93333 = Flight Master License}This gets me all cringy. Does this even compile ? How the fuck does it compile ? Also, still most misleading name ever.Code: [Select]{ // continent checked in SpellInfo::CheckLocation at cast and area update uint32 v_map = GetVirtualMapForMapAndZone(mapid, zone); return (v_map != 571 || HasSpell(54197)) || (v_map != 869 || HasSpell(93333));}
The function name was declared at some point by someone. And it's still misleading as fuck.You could try[code]return (v_map == 571 && HasSpell(54197)) || (v_map == 869 && HasSpell(93333));[/code9