Skip to content

Commit 00b6278

Browse files
committed
xrGame/player_hud.h: changed initialization order in constructor
1 parent 2556c5a commit 00b6278

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/xrGame/player_hud.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ struct attachable_hud_item
7272

7373
player_hud_motion_container m_hand_motions;
7474

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

7979
~attachable_hud_item();
8080
void load(const shared_str& sect_name);

0 commit comments

Comments
 (0)