Skip to content

Commit

Permalink
Clean up EntityList::QuestJournalledSayClose
Browse files Browse the repository at this point in the history
  • Loading branch information
mackal committed Aug 13, 2019
1 parent 963da70 commit 7b49089
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions zone/entity.cpp
Expand Up @@ -3923,8 +3923,8 @@ bool Entity::CheckCoordLosNoZLeaps(float cur_x, float cur_y, float cur_z,
return false;
}

void EntityList::QuestJournalledSayClose(Mob *sender, Client *QuestInitiator,
float dist, const char* mobname, const char* message, Journal::Options &opts)
void EntityList::QuestJournalledSayClose(Mob *sender, float dist, const char *mobname, const char *message,
Journal::Options &opts)
{
SerializeBuffer buf(sizeof(SpecialMesgHeader_Struct) + 12 + 64 + 64);

Expand Down
2 changes: 1 addition & 1 deletion zone/entity.h
Expand Up @@ -368,7 +368,7 @@ class EntityList
void SendNimbusEffects(Client *c);
void SendUntargetable(Client *c);
void DuelMessage(Mob* winner, Mob* loser, bool flee);
void QuestJournalledSayClose(Mob *sender, Client *QuestIntiator, float dist, const char* mobname, const char* message, Journal::Options &opts);
void QuestJournalledSayClose(Mob *sender, float dist, const char* mobname, const char* message, Journal::Options &opts);
void GroupMessage(uint32 gid, const char *from, const char *message);
void ExpeditionWarning(uint32 minutes_left);

Expand Down
2 changes: 1 addition & 1 deletion zone/mob.cpp
Expand Up @@ -2924,7 +2924,7 @@ void Mob::QuestJournalledSay(Client *QuestInitiator, const char *str, Journal::O
if (opts.target_spawn_id == 0 && QuestInitiator)
opts.target_spawn_id = QuestInitiator->GetID();

entity_list.QuestJournalledSayClose(this, QuestInitiator, 200, GetCleanName(), str, opts);
entity_list.QuestJournalledSayClose(this, 200, GetCleanName(), str, opts);
}

const char *Mob::GetCleanName()
Expand Down

0 comments on commit 7b49089

Please sign in to comment.