Browse Source

Fixed CID 1375707

AlexVinS 8 năm trước cách đây
mục cha
commit
7a1dd7bd7d
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      lib/mapping/MapFormatJson.cpp

+ 3 - 1
lib/mapping/MapFormatJson.cpp

@@ -342,7 +342,9 @@ const std::string CMapFormatJson::HEADER_FILE_NAME = "header.json";
 const std::string CMapFormatJson::OBJECTS_FILE_NAME = "objects.json";
 
 CMapFormatJson::CMapFormatJson():
-	mapObjectResolver(make_unique<MapObjectResolver>(this))
+	fileVersionMajor(0), fileVersionMinor(0),
+	mapObjectResolver(make_unique<MapObjectResolver>(this)),
+	map(nullptr), mapHeader(nullptr)
 {
 
 }