mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 10:30:01 +01:00
Silence totalDps being uninitialized
This commit is contained in:
parent
54a844585f
commit
6303401713
@ -25,7 +25,7 @@ float EstimatedLifetimeValue::Calculate()
|
|||||||
|
|
||||||
float EstimatedGroupDpsValue::Calculate()
|
float EstimatedGroupDpsValue::Calculate()
|
||||||
{
|
{
|
||||||
float totalDps;
|
float totalDps = 0;
|
||||||
|
|
||||||
std::vector<Player*> groupPlayer = {bot};
|
std::vector<Player*> groupPlayer = {bot};
|
||||||
if (Group* group = bot->GetGroup())
|
if (Group* group = bot->GetGroup())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user