Replace World::getConfig with World::getFloatConfig, World::getIntConfig, and World::getBoolConfig.

Also fix a warning from a previous commit.

--HG--
branch : trunk
This commit is contained in:
silinoron
2010-08-23 19:56:47 -07:00
parent b30800e9bc
commit 8649bee17f
65 changed files with 885 additions and 889 deletions

View File

@@ -26,7 +26,7 @@
void CharacterDatabaseCleaner::CleanDatabase()
{
// config to disable
if(!sWorld.getConfig(CONFIG_CLEAN_CHARACTER_DB))
if(!sWorld.getBoolConfig(CONFIG_CLEAN_CHARACTER_DB))
return;
sLog.outString("Cleaning character database...");