Selaa lähdekoodia

Fixed member initialization order.

anim_headers_ is declared before animbuffers_ in HL1MDLLoader.h.
Marc-Antoine Lortie 6 vuotta sitten
vanhempi
sitoutus
7c2cec2182
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      code/MDL/HalfLife/HL1MDLLoader.cpp

+ 1 - 1
code/MDL/HalfLife/HL1MDLLoader.cpp

@@ -80,9 +80,9 @@ HL1MDLLoader::HL1MDLLoader(
     buffer_(buffer),
     file_path_(file_path),
     import_settings_(import_settings),
+    anim_headers_(nullptr),
     texture_buffer_(nullptr),
     anim_buffers_(nullptr),
-    anim_headers_(nullptr),
     num_sequence_groups_(0),
     rootnode_children_(),
     unique_name_generator_(),