comparison Constants.lua @ 479:cf08b2748711

Removed backwards compatibility for Patch 6.2.4 in order to simplify code, now that Patch 7.0.3 is on Live realms.
author Caleb Atherton <catherton@curse.com>
date Wed, 03 Aug 2016 12:44:12 -0400
parents 3e61766f8dc6
children 679e2846ff88
comparison
equal deleted inserted replaced
478:8af940221d3a 479:cf08b2748711
805 805
806 ----------------------------------------------------------------------- 806 -----------------------------------------------------------------------
807 -- Fundamental Constants. 807 -- Fundamental Constants.
808 ----------------------------------------------------------------------- 808 -----------------------------------------------------------------------
809 private.wow_version, private.build_num, _, private.interface_num = _G.GetBuildInfo() 809 private.wow_version, private.build_num, _, private.interface_num = _G.GetBuildInfo()
810 -- LEGION
811 private.isLegion = false
812 if private.interface_num == 70000 then private.isLegion = true end
813 private.region = GetCVar("portal"):sub(0,2):upper() 810 private.region = GetCVar("portal"):sub(0,2):upper()
814 -- PTR/Beta return "public-test", but they are properly called "XX" 811 -- PTR/Beta return "public-test", but they are properly called "XX"
815 if private.region == "PU" then private.region = "XX" end 812 if private.region == "PU" then private.region = "XX" end
816 813
817 private.UNIT_TYPES = { 814 private.UNIT_TYPES = {