* Implemented DB cleaning on startup

* Must be enabled in conf AND set in worldstates for what you want to clean
* CLEANING_FLAG_ACHIEVEMENT_PROGRESS  = 0x1,
* CLEANING_FLAG_SKILLS                = 0x2,
* CLEANING_FLAG_SPELLS                = 0x4,
* CLEANING_FLAG_TALENTS               = 0x8
* Set to 0xF to clean all 4
* Patch by hunuza

--HG--
branch : trunk
This commit is contained in:
Brian
2010-07-22 13:41:19 -06:00
parent 903a3cbe76
commit c8662c888b
9 changed files with 227 additions and 3 deletions
+1
View File
@@ -172,6 +172,7 @@ set(game_STAT_SRCS
Spells/SpellEffects.cpp
Spells/Spell.cpp
Spells/SpellMgr.cpp
Tools/CharacterDatabaseCleaner.cpp
Tools/PlayerDump.cpp
Tools/Tools.cpp
Weather/Weather.cpp