From 7b2031a64e81c7c9c8695b1ba1b08b7b292632ac Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 5 Sep 2024 16:17:12 +0800 Subject: [PATCH] 1 --- server/gameserver/ability.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/server/gameserver/ability.cc b/server/gameserver/ability.cc index 7f23cba8..0aee0d42 100644 --- a/server/gameserver/ability.cc +++ b/server/gameserver/ability.cc @@ -43,6 +43,13 @@ static std::array>, kAstEnd> s_speed_r std::vector>({}) }; +static void ClearSpeedRateInList() +{ + for (auto& itr : s_speed_ratein_list) { + itr.clear(); + } +} + static bool IsMulCalc(int attr_id) { switch (attr_id) {