mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-16 01:01:30 +00:00
Thought something looked like it was missing!
This commit is contained in:
parent
270fe3389c
commit
d9dc2eb4e3
@ -2669,13 +2669,14 @@ const char* QuestManager::saylink(char* Phrase, bool silent, const char* LinkNam
|
|||||||
say_link = StringFormat("%c%06x%s%s%c", 0x12, sayid, link_core, LinkName, 0x12);
|
say_link = StringFormat("%c%06x%s%s%c", 0x12, sayid, link_core, LinkName, 0x12);
|
||||||
else
|
else
|
||||||
say_link = "<CLIENT VERSION ERROR>";
|
say_link = "<CLIENT VERSION ERROR>";
|
||||||
|
|
||||||
safe_delete_array(link_core);
|
|
||||||
}
|
}
|
||||||
else { // If no initiator, create an RoF2 saylink, since older clients handle RoF2 ones better than RoF2 handles older ones.
|
else { // If no initiator, create an RoF2 saylink, since older clients handle RoF2 ones better than RoF2 handles older ones.
|
||||||
Client::MakeBlankLink_(link_core); // Note: this is a global operator
|
Client::MakeBlankLink_(link_core); // Note: this is a global operator
|
||||||
|
say_link = StringFormat("%c%06x%s%s%c", 0x12, sayid, link_core, LinkName, 0x12);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
safe_delete_array(link_core);
|
||||||
|
|
||||||
if (say_link.length() > 250)
|
if (say_link.length() > 250)
|
||||||
strcpy(Phrase, "<SAYLINK OVER-LENGTH ERROR>");
|
strcpy(Phrase, "<SAYLINK OVER-LENGTH ERROR>");
|
||||||
else if (say_link.length() == 0)
|
else if (say_link.length() == 0)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user