[9391] Remove unused defanes in Configs enums.

This commit is contained in:
AlexDereka 2010-02-15 19:54:32 +03:00
parent 462117198e
commit 941b2edb10
4 changed files with 10 additions and 608 deletions

View file

@ -481,14 +481,8 @@ void GameEventMgr::UnApplyEvent(uint16 event_id)
void GameEventMgr::ApplyNewEvent(uint16 event_id)
{
switch(sWorld.getConfig(CONFIG_UINT32_EVENT_ANNOUNCE))
{
case 0: // disable
break;
case 1: // announce events
sWorld.SendWorldText(LANG_EVENTMESSAGE, mGameEvent[event_id].description.c_str());
break;
}
if (sWorld.getConfig(CONFIG_BOOL_EVENT_ANNOUNCE))
sWorld.SendWorldText(LANG_EVENTMESSAGE, mGameEvent[event_id].description.c_str());
sLog.outString("GameEvent %u \"%s\" started.", event_id, mGameEvent[event_id].description.c_str());
// spawn positive event tagget objects