From fe4c95a03ebddb14af23c726ab2f9cb0635ff963 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 16 Mar 2022 08:06:59 +0100 Subject: [PATCH] - fixed order of slope creation so that slope copies are the last thing being done. --- src/maploader/slopes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/maploader/slopes.cpp b/src/maploader/slopes.cpp index 2fb44e628..b5ef8d761 100644 --- a/src/maploader/slopes.cpp +++ b/src/maploader/slopes.cpp @@ -417,6 +417,7 @@ void MapLoader::SpawnSlopeMakers (FMapThing *firstmt, FMapThing *lastmt, const i mt->EdNum = 0; } } + SetSlopesFromVertexHeights(firstmt, lastmt, oldvertextable); for (mt = firstmt; mt < lastmt; ++mt) { @@ -428,7 +429,6 @@ void MapLoader::SpawnSlopeMakers (FMapThing *firstmt, FMapThing *lastmt, const i } } - SetSlopesFromVertexHeights(firstmt, lastmt, oldvertextable); }