mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Silence totalDps being uninitialized
This commit is contained in:
@@ -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())
|
||||||
|
|||||||
Reference in New Issue
Block a user