Formatting

This commit is contained in:
Kinglykrab 2020-01-20 21:14:28 -05:00
parent caceae1028
commit 8b37ef5e67
2 changed files with 12 additions and 12 deletions

View File

@ -1911,17 +1911,17 @@ bool QuestManager::summonallplayercorpses(uint32 char_id, const glm::vec4& posit
} }
int QuestManager::getplayercorpsecount(uint32 char_id) { int QuestManager::getplayercorpsecount(uint32 char_id) {
if (char_id > 0) if (char_id > 0) {
return database.CountCharacterCorpses(char_id); return database.CountCharacterCorpses(char_id);
}
return 0; return 0;
} }
int QuestManager::getplayercorpsecountbyzoneid(uint32 char_id, uint32 zone_id) { int QuestManager::getplayercorpsecountbyzoneid(uint32 char_id, uint32 zone_id) {
if (char_id > 0 && zone_id > 0) if (char_id > 0 && zone_id > 0) {
return database.CountCharacterCorpsesByZoneID(char_id, zone_id); return database.CountCharacterCorpsesByZoneID(char_id, zone_id);
}
return 0; return 0;
} }