From b85f6e66b172d223096ddf8df660db31ae6267df Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 13 May 2019 15:27:39 +0200 Subject: [PATCH] 2d3d:: save always3 when saving map --- mapeditor.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mapeditor.cpp b/mapeditor.cpp index de116647..66947ac6 100644 --- a/mapeditor.cpp +++ b/mapeditor.cpp @@ -195,6 +195,7 @@ namespace mapstream { int32_t id = cellids.count(cwt.at) ? cellids[cwt.at] : -1; f.write(id); + f.write(geom3::always3); #if CAP_POLY for(int i=0; i a3(geom3::always3, geom3::always3); + if(vernum >= 0xA616) f.read(geom3::always3); + if(vernum >= 7400) while(true) { int i = f.get(); if(i == -1) break;