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