mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 02:08:20 +00:00
Update UserManager.cpp
Style fix (CamelCase and space)
This commit is contained in:
parent
b6fc49f057
commit
2ac2dbd650
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user