mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 13:57:16 +00:00
Unify chat constants usage
This commit is contained in:
1 parent
24d2a5723b
commit
57354579aa
50 files changed
+1352
-1432
No files matched your search
+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