Thread Tools Display Modes
05-22-16, 02:14 AM   #1
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
WorldMapFrame.lua typo

I was looking for Archaeology stuff in WorldMapFrame.lua, live version, and noticed an error. Then I compared to build 21737 of Legion Beta, and lo and behold, the same error exists! I know this section of the forums is bug reports that will hopefully be sent to Blizzard; would it not also be prudent to post on their bug report forums?

In build 21737, these are lines 2856 - 2863. The typo is line 2860, or line 5 below.
Wrong: local blobID = ArcheologyGetVisibleBlobID(i);
Right: local blobID =ArchaeologyGetVisibleBlobID(i);
Lua Code:
  1. function ArchaeologyDigSiteFrame_OnUpdate()
  2.     WorldMapArchaeologyDigSites:DrawNone();
  3.     local numEntries = ArchaeologyMapUpdateAll();
  4.     for i = 1, numEntries do
  5.         local blobID = ArcheologyGetVisibleBlobID(i);
  6.         WorldMapArchaeologyDigSites:DrawBlob(blobID, true);
  7.     end
  8. end
 
05-22-16, 09:44 AM   #2
elcius
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Sep 2011
Posts: 75
renaming the function would cause problems, it's better to leave it alone.
 
05-22-16, 03:43 PM   #3
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Is it a typo in the spelling of the word, or the spelling of the function name? (ie, is it calling the function or no?)
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

 
05-22-16, 04:05 PM   #4
Predicate
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 18
It is calling the function that exists. The API itself has the misspelling, but that is the only place it's called in the default UI, so it might not be too problematic to change.
 
05-22-16, 04:07 PM   #5
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
So this isn't a bug then, myrroddin. It's a typo in the spelling of the word, yes, but it's not the first one, and it won't be the last.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

 
 

WoWInterface » Site Forums » Archived Beta Forums » Legion Beta archived threads » WorldMapFrame.lua typo

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off