diff --git a/floorshapes.cpp b/floorshapes.cpp index 8a3ce882..db1cbed1 100644 --- a/floorshapes.cpp +++ b/floorshapes.cpp @@ -1281,6 +1281,10 @@ const int FLOORTEXTURESIZE = 4096; void geometry_information::make_floor_textures_here() { require_shapes(); + auto m = euc::new_map(); + dynamicval dm(currentmap, m); + cgi.generate_floorshapes_for(0, m->gamestart()); + cgi.finishshape(); cgi.extra_vertices(); dynamicval vi(vid, vid); vid.xres = FLOORTEXTURESIZE;