From e00e117278af2c5d1908bcb3ca6dfbf04e2d99cd Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 27 Dec 2019 23:38:28 +0100 Subject: [PATCH] fixed a crash bug on loading file tessellations --- floorshapes.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/floorshapes.cpp b/floorshapes.cpp index 678319af..3660bdf2 100644 --- a/floorshapes.cpp +++ b/floorshapes.cpp @@ -701,6 +701,11 @@ void geometry_information::generate_floorshapes() { mh.zebraval = i; auto& sh = c.shapes[i]; ms.type = mh.type = sh.size(); + } + for(int i=0; i(co)], get<1>(co), get<2>(co));