mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Unify chat constants usage
This commit is contained in:
+3
-3
@@ -50,7 +50,7 @@ void Client::SendPathPacket(const std::vector<FindPerson_Point> &points) {
|
||||
auto points = EQEmu::any_cast<std::vector<FindPerson_Point>>(result);
|
||||
if (points.size() < 2) {
|
||||
if (Admin() > 10) {
|
||||
Message(MT_System, "Too few points");
|
||||
Message(Chat::System, "Too few points");
|
||||
}
|
||||
|
||||
EQApplicationPacket outapp(OP_FindPersonReply, 0);
|
||||
@@ -60,7 +60,7 @@ void Client::SendPathPacket(const std::vector<FindPerson_Point> &points) {
|
||||
|
||||
if (points.size() > 36) {
|
||||
if (Admin() > 10) {
|
||||
Message(MT_System, "Too many points %u", points.size());
|
||||
Message(Chat::System, "Too many points %u", points.size());
|
||||
}
|
||||
|
||||
EQApplicationPacket outapp(OP_FindPersonReply, 0);
|
||||
@@ -69,7 +69,7 @@ void Client::SendPathPacket(const std::vector<FindPerson_Point> &points) {
|
||||
}
|
||||
|
||||
if (Admin() > 10) {
|
||||
Message(MT_System, "Total points %u", points.size());
|
||||
Message(Chat::System, "Total points %u", points.size());
|
||||
}
|
||||
|
||||
int len = sizeof(FindPersonResult_Struct) + (points.size() + 1) * sizeof(FindPerson_Point);
|
||||
|
||||
Reference in New Issue
Block a user