Skip to content

Commit

Permalink
xrGame/player_hud.h: changed initialization order in constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Jun 7, 2018
1 parent 2556c5a commit 00b6278
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/xrGame/player_hud.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ struct attachable_hud_item

player_hud_motion_container m_hand_motions;

attachable_hud_item(player_hud* pparent) : m_parent(pparent), m_parent_hud_item(nullptr),
m_model(nullptr), m_attach_place_idx(0),
m_upd_firedeps_frame(u32(-1)) {}
attachable_hud_item(player_hud* pparent) : m_parent(pparent), m_upd_firedeps_frame(u32(-1)),
m_parent_hud_item(nullptr), m_model(nullptr),
m_attach_place_idx(0) {}

~attachable_hud_item();
void load(const shared_str& sect_name);
Expand Down

0 comments on commit 00b6278

Please sign in to comment.