Merge pull request #273 from lioncash/team-uninit

CTeamAiMgr: Initialize x90_timeSinceMelee and x90_timeSinceRanged to 0.0f in constructor
This commit is contained in:
Phillip Stephens 2020-03-24 17:45:29 -07:00 committed by GitHub
commit c72f388929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -64,10 +64,10 @@ private:
std::vector<CTeamAiRole> x58_roles;
std::vector<TUniqueId> x68_meleeAttackers;
std::vector<TUniqueId> x78_rangedAttackers;
float x88_timeDirty = 0.f;
float x88_timeDirty = 0.0f;
TUniqueId x8c_teamCaptainId = kInvalidUniqueId;
float x90_timeSinceMelee;
float x94_timeSinceRanged;
float x90_timeSinceMelee = 0.0f;
float x94_timeSinceRanged = 0.0f;
void UpdateTeamCaptain();
bool ShouldUpdateRoles(float dt);