Update UserManager.cpp

Style fix (CamelCase and space)
This commit is contained in:
Raphaël Dunant
2021-12-28 19:56:49 +01:00
committed by GitHub
parent b6fc49f057
commit 2ac2dbd650

View File

@@ -566,10 +566,10 @@ void UserManager::LoginCharacter(const SystemAddress& sysAddr, uint32_t playerID
}
}
uint32_t getShirtColorId(uint32_t color) {
uint32_t GetShirtColorId(uint32_t color) {
// get the index of the color in shirtColorVector
auto colorId = std::find (shirtColorVector.begin(), shirtColorVector.end(), color);
auto colorId = std::find(shirtColorVector.begin(), shirtColorVector.end(), color);
return color = std::distance(shirtColorVector.begin(), colorId);
}