Merge [SD2]

r1240 Update scripts, increment/decrement variables using operator before instead of after variable, mainly for code consistency. Original patch by Meldanor.

--HG--
branch : trunk
This commit is contained in:
Kudlaty
2009-08-13 22:27:55 +02:00
parent 598e23ff0d
commit 8212baca88
73 changed files with 159 additions and 159 deletions

View File

@@ -924,7 +924,7 @@ void ScriptsFree()
delete []SpellSummary;
// Free resources before library unload
for(uint16 i =0;i<MAX_SCRIPTS;i++)
for(uint16 i =0;i<MAX_SCRIPTS;++i)
delete m_scripts[i];
num_sc_scripts = 0;
@@ -964,7 +964,7 @@ void ScriptsInit(char const* cfg_file = "trinitycore.conf")
bar.step();
outstring_log("");
for(uint16 i =0;i<MAX_SCRIPTS;i++)
for(uint16 i =0;i<MAX_SCRIPTS;++i)
m_scripts[i]=NULL;
FillSpellSummary();