mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 05:37:17 +00:00
Fix issues with OP_SpecialMesg handling
This should prevent any optimizations being done on the "1 char string" This also fully documents the packet and expands the uses of quest::say/QuestSay
This commit is contained in:
1 parent
16d6014a87
commit
9fe17f4d46
24 files changed
+343
-291
No files matched your search
+6
-2
@@ -2911,9 +2911,13 @@ void Mob::Emote(const char *format, ...)
|
||||
GENERIC_EMOTE, GetCleanName(), buf);
|
||||
}
|
||||
|
||||
void Mob::QuestJournalledSay(Client *QuestInitiator, const char *str)
|
||||
void Mob::QuestJournalledSay(Client *QuestInitiator, const char *str, Journal::Options &opts)
|
||||
{
|
||||
entity_list.QuestJournalledSayClose(this, QuestInitiator, 200, GetCleanName(), str);
|
||||
// just in case
|
||||
if (opts.target_spawn_id == 0 && QuestInitiator)
|
||||
opts.target_spawn_id = QuestInitiator->GetID();
|
||||
|
||||
entity_list.QuestJournalledSayClose(this, QuestInitiator, 200, GetCleanName(), str, opts);
|
||||
}
|
||||
|
||||
const char *Mob::GetCleanName()
|
||||
|
||||
Reference in new issue
Block a user