From b24e0e7c1f72c9a09e7d8e67d68c8faff6358d68 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 6 Mar 2020 15:40:08 +0800 Subject: [PATCH] 1 --- server/gameserver/human.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 185ecb2..355c12c 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -2376,7 +2376,7 @@ void Human::FreeReviveTimer() void Human::RandSkin() { std::vector 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];