add missing initializers for 'dlc' variables for the 3 default generated map types (fixes 3 clang warnings)
authorsheepluva
Mon, 02 Dec 2013 16:52:15 +0100
changeset 9736 d2b01d350035
parent 9735 6312152d92ad
child 9737 f0769402350c
add missing initializers for 'dlc' variables for the 3 default generated map types (fixes 3 clang warnings)
QTfrontend/model/MapModel.cpp
--- a/QTfrontend/model/MapModel.cpp	Mon Dec 02 12:40:16 2013 +0100
+++ b/QTfrontend/model/MapModel.cpp	Mon Dec 02 16:52:15 2013 +0100
@@ -28,9 +28,9 @@
 #include "HWApplication.h"
 #include "hwconsts.h"
 
-MapModel::MapInfo MapModel::MapInfoRandom = {MapModel::GeneratedMap, "+rnd+", "", 0, "", "", ""};
-MapModel::MapInfo MapModel::MapInfoMaze = {MapModel::GeneratedMaze, "+maze+", "", 0, "", "", ""};
-MapModel::MapInfo MapModel::MapInfoDrawn = {MapModel::HandDrawnMap, "+drawn+", "", 0, "", "", ""};
+MapModel::MapInfo MapModel::MapInfoRandom = {MapModel::GeneratedMap, "+rnd+", "", 0, "", "", "", false};
+MapModel::MapInfo MapModel::MapInfoMaze = {MapModel::GeneratedMaze, "+maze+", "", 0, "", "", "", false};
+MapModel::MapInfo MapModel::MapInfoDrawn = {MapModel::HandDrawnMap, "+drawn+", "", 0, "", "", "", false};
 
 void MapModel::loadMaps(MapType maptype)
 {