diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index ad49c88c..89abfa07 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -102,7 +102,7 @@ float Human::GetSpeed() if (buff) { return buff->meta->param2; } - } + } float speed = 1.0; if (downed) { speed = meta->i->move_speed3(); diff --git a/server/gameserver/human.h b/server/gameserver/human.h index 85a55290..d5f9e283 100644 --- a/server/gameserver/human.h +++ b/server/gameserver/human.h @@ -81,7 +81,7 @@ class Human : public Creature std::string session_id; std::string from_appid; std::string team_uuid; - int init_team_member_num = 1; + int init_team_member_num = 0; bool auto_fill = false; int today_enter_times = 0; int account_registertime = 0;