Quantcast

Don't fill the spellbook with missing spells before compiling new script.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-02-09 07:02:33
Author local date 2013-02-09 07:02:33 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-02-09 07:02:33
Committer local date 2013-02-09 07:02:33 +0000
Commit 2a44f389a8e908ed0e81e7feec5e14e41ec31d7c
Tree 82eedc147df7de8f8b1063e20a8f79c495054323
Parent e5b92e121075d9dd37675d3d26fc9e9761e42205
Don't fill the spellbook with missing spells before compiling new script.

Before this change, the spellbook (OvaleData.spellList) would be populated
with entries found from a previous script compilation, which may have
changed after the event SPELLS_CHANGED is received.

This change makes filling the spellbook with missing spells found in the
script happen *after* the script is compiled, and moves the responsibility
into OvaleCompile:Compile().

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@681 d5049fe3-3747-40f7-a4b5-f36d6801af5f