- fixed: decal things failed to spawn their decals on 3D floors.

The value wasn't passed on to StaticCreate.
This commit is contained in:
Christoph Oelckers 2022-04-16 22:49:13 +02:00
parent 2f90f49931
commit 525351c695
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}