mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 10:58:20 +00:00
[Commands] Cleanup #emotesearch and #emoteview Command. (#2494)
* [Commands] Cleanup #emoteview Command. Cleanup command messages and logic. Add constants for Emote Events and Emote Types and replace all the old constants with the new constants. * Update emoteview.cpp * Cleanup #emotesearch Command.
This commit is contained in:
+1
-1
@@ -700,7 +700,7 @@ void EntityList::AddNPC(NPC *npc, bool SendSpawnPacket, bool dontqueue)
|
||||
|
||||
uint32 emoteid = npc->GetEmoteID();
|
||||
if (emoteid != 0)
|
||||
npc->DoNPCEmote(ONSPAWN, emoteid);
|
||||
npc->DoNPCEmote(EQ::constants::EmoteEventTypes::OnSpawn, emoteid);
|
||||
npc->SetSpawned();
|
||||
if (SendSpawnPacket) {
|
||||
if (dontqueue) { // aka, SEND IT NOW BITCH!
|
||||
|
||||
Reference in New Issue
Block a user