From 43981bff855ee35b29c8d92a5a770d67b522a000 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 8 May 2021 16:27:01 +0200 Subject: [PATCH] - Duke: fixed mirror setup for new renderer. A wall must be marked one-way to be used as a mirror. --- source/games/duke/src/premap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/premap.cpp b/source/games/duke/src/premap.cpp index af1e757fd..d3ff8350c 100644 --- a/source/games/duke/src/premap.cpp +++ b/source/games/duke/src/premap.cpp @@ -824,7 +824,7 @@ static void SpawnPortals() { for (int i = 0; i < numwalls; i++) { - if (wall[i].overpicnum == TILE_MIRROR) wall[i].portalflags |= PORTAL_WALL_MIRROR; + if (wall[i].overpicnum == TILE_MIRROR && (wall[i].cstat & CSTAT_WALL_1WAY)) wall[i].portalflags |= PORTAL_WALL_MIRROR; } portalClear();