mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[9391] Remove unused defanes in Configs enums.
This commit is contained in:
parent
462117198e
commit
941b2edb10
4 changed files with 10 additions and 608 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue