mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-01 16:32:21 +00:00
Fill function calls using magic numbers
This commit is contained in:
1 parent
a28ea6419f
commit
665efe09f3
30 files changed
+1572
-1572
No files matched your search
+2
-2
@@ -3544,10 +3544,10 @@ void ZoneDatabase::ListAllInstances(Client* client, uint32 charid)
|
||||
|
||||
char name[64];
|
||||
database.GetCharName(charid, name);
|
||||
client->Message(0, "%s is part of the following instances:", name);
|
||||
client->Message(Chat::White, "%s is part of the following instances:", name);
|
||||
|
||||
for (auto row = results.begin(); row != results.end(); ++row) {
|
||||
client->Message(0, "%s - id: %lu, version: %lu", database.GetZoneName(atoi(row[1])),
|
||||
client->Message(Chat::White, "%s - id: %lu, version: %lu", database.GetZoneName(atoi(row[1])),
|
||||
(unsigned long)atoi(row[0]), (unsigned long)atoi(row[2]));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user