mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 17:49:10 +00:00
chore(core): Cleanup code (#16012)
* Update SmartScript.cpp * Update M2Stores.cpp * Update PetHandler.cpp * Update WaypointMovementGenerator.cpp * Update WorldSession.cpp * Update spell_item.cpp * Update LoginDatabase.cpp
This commit is contained in:
@@ -625,19 +625,19 @@ class spell_item_feast : public SpellScript
|
||||
{
|
||||
case SPELL_GREAT_FEAST:
|
||||
if (BroadcastText const* bct = sObjectMgr->GetBroadcastText(GREAT_FEAST_BROADCAST_TEXT_ID_PREPARE))
|
||||
player->TextEmote(bct->GetText(loc_idx, player->getGender()).c_str(), player);
|
||||
player->TextEmote(bct->GetText(loc_idx, player->getGender()), player);
|
||||
break;
|
||||
case SPELL_FISH_FEAST:
|
||||
if (BroadcastText const* bct = sObjectMgr->GetBroadcastText(FISH_FEAST_BROADCAST_TEXT_ID_PREPARE))
|
||||
player->TextEmote(bct->GetText(loc_idx, player->getGender()).c_str(), player);
|
||||
player->TextEmote(bct->GetText(loc_idx, player->getGender()), player);
|
||||
break;
|
||||
case SPELL_SMALL_FEAST:
|
||||
if (BroadcastText const* bct = sObjectMgr->GetBroadcastText(SMALL_FEAST_BROADCAST_TEXT_ID_PREPARE))
|
||||
player->TextEmote(bct->GetText(loc_idx, player->getGender()).c_str(), player);
|
||||
player->TextEmote(bct->GetText(loc_idx, player->getGender()), player);
|
||||
break;
|
||||
case SPELL_GIGANTIC_FEAST:
|
||||
if (BroadcastText const* bct = sObjectMgr->GetBroadcastText(GIGANTIC_FEAST_BROADCAST_TEXT_ID_PREPARE))
|
||||
player->TextEmote(bct->GetText(loc_idx, player->getGender()).c_str(), player);
|
||||
player->TextEmote(bct->GetText(loc_idx, player->getGender()), player);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user