From 525351c695978fa37d4b5dfdbcee397a28301680 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 16 Apr 2022 22:49:13 +0200 Subject: [PATCH] - fixed: decal things failed to spawn their decals on 3D floors. The value wasn't passed on to StaticCreate. --- src/playsim/a_decals.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playsim/a_decals.cpp b/src/playsim/a_decals.cpp index 73dc86771..cba5de2f3 100644 --- a/src/playsim/a_decals.cpp +++ b/src/playsim/a_decals.cpp @@ -891,7 +891,7 @@ DBaseDecal *ShootDecal(FLevelLocals *Level, const FDecalTemplate *tpl, sector_t if (trace.HitType == TRACE_HitWall) { - return DImpactDecal::StaticCreate(Level, tpl, trace.HitPos, trace.Line->sidedef[trace.Side], NULL, 0, 0, permanent); + return DImpactDecal::StaticCreate(Level, tpl, trace.HitPos, trace.Line->sidedef[trace.Side], trace.ffloor, 0, 0, permanent); } return NULL; }