Secrets: Identified OP_GuildPromote for RoF clients.

Secrets: Fixed promotion, demotion, transferring a leader and displaying of client ranks in the Rain of Fear client. The rain of fear client, as such, will only have 3 ranks like the other clients, but supports a theoretical 8 ranks later.
Secrets/Akkadius: Fixed an issue involving character name lookup in the new DB code.
This commit is contained in:
SecretsOTheP
2014-09-02 21:16:20 -04:00
parent 8422178233
commit 832e5e90d1
14 changed files with 158 additions and 33 deletions
+3 -1
View File
@@ -771,7 +771,9 @@ void Database::GetCharName(uint32 char_id, char* name) {
}
auto row = results.begin();
strcpy(name, row[0]);
for (auto row = results.begin(); row != results.end(); ++row) {
strcpy(name, row[0]);
}
}
bool Database::LoadVariables() {