Skip to content

Commit

Permalink
Initialize more uninitialized Drone member fields
Browse files Browse the repository at this point in the history
  • Loading branch information
etodd committed Sep 28, 2018
1 parent 63664d0 commit 7e63caf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/game/drone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1144,6 +1144,7 @@ Drone::Drone()
hit_targets(),
cooldown(),
cooldown_last_local_change(),
cooldown_ability_switch(),
cooldown_ability_switch_last_local_change(),
current_ability(Ability::None),
fake_projectiles(),
Expand All @@ -1154,7 +1155,8 @@ Drone::Drone()
lerped_rotation(),
lerped_pos(),
last_pos(),
hit()
hit(),
weapon_model()
{
}

Expand Down

0 comments on commit 7e63caf

Please sign in to comment.