Thread: WOD/Pre-patch
View Single Post
11-06-14, 08:40 PM   #185
Eternal_Lynx
An Aku'mai Servant
 
Eternal_Lynx's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 31
Originally Posted by Rythal View Post
And that's why it's been driving me nuts.. in the testing last night I am not doing any continent detection.. if it realizes it's in a BG, it's forcing it to look up the information from continent 90 (and in MapData continent 9 is moved to 90, just so this doesn't come up again in 2-3 years when we are on expansion 9 lol) but the maps not drawing

So I'm missing something somewhere that it's not grabbing or setting the proper continent.
I just realized that all the so called "continent" data is actually three different things:
  • the first digit of the old zone numbers(expansion based)
  • the return value of api GetCurrentMapContinent()
  • the fifth argument in Zones.lua(mostly the same with GetCurrentMapContinent())
and they are all called the variable 'cont'...

Why can't they just left enough comments to tell everyone which 'cont' is which? /facepalm
__________________
Moo'. Are you happy now?