From e6abb6188504e95a22cbcb9b05c66e7706d69c80 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 8 Sep 2021 09:45:22 +0000 Subject: [PATCH] 1 --- server/gameserver/human.cc | 2 +- server/gameserver/human.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index ad49c88..89abfa0 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 85a5529..d5f9e28 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;