This commit is contained in:
aozhiwei 2020-03-06 15:40:08 +08:00
parent 389352d59f
commit b24e0e7c1f

View File

@ -2376,7 +2376,7 @@ void Human::FreeReviveTimer()
void Human::RandSkin()
{
std::vector<int> ids = {1, 2, 3, 4, 5, 6};
for (int i = 0; i < 3; ++i) {
for (int i = 0; i < 4; ++i) {
int rand_idx = rand() % ids.size();
Skin& skin = a8::FastAppend(skins);
skin.skin_id = ids[rand_idx];