Core: Generic cleanup (tab2spaces/trailing whitespace removal)

This commit is contained in:
leak
2011-01-26 01:03:35 +01:00
parent 57f85ab7da
commit 137b079eea
57 changed files with 252 additions and 252 deletions

View File

@@ -38,7 +38,7 @@ void CharacterDatabaseCleaner::CleanDatabase()
return;
uint32 flags = (*result)[0].GetUInt32();
// clean up
if (flags & CLEANING_FLAG_ACHIEVEMENT_PROGRESS)
CleanCharacterAchievementProgress();
@@ -55,7 +55,7 @@ void CharacterDatabaseCleaner::CleanDatabase()
if (flags & CLEANING_FLAG_QUESTSTATUS)
CleanCharacterQuestStatus();
// NOTE: In order to have persistentFlags be set in worldstates for the next cleanup,
// NOTE: In order to have persistentFlags be set in worldstates for the next cleanup,
// you need to define them at least once in worldstates.
flags &= sWorld->getIntConfig(CONFIG_PERSISTENT_CHARACTER_CLEAN_FLAGS);
CharacterDatabase.DirectPExecute("UPDATE worldstates SET value = %u WHERE entry = 20004", flags);