Fixed A_SprayDecal not working on 3D floors

This commit is contained in:
Boondorl 2024-11-29 07:24:30 -05:00 committed by Ricardo Luís Vaz Silva
parent 8311e77a26
commit c6eba62f73

View file

@ -854,7 +854,7 @@ void SprayDecal(AActor *shooter, const char *name, double distance, DVector3 off
{
if (trace.HitType == TRACE_HitWall)
{
DImpactDecal::StaticCreate(shooter->Level, name, trace.HitPos, trace.Line->sidedef[trace.Side], NULL, entry, bloodTrans);
DImpactDecal::StaticCreate(shooter->Level, name, trace.HitPos, trace.Line->sidedef[trace.Side], trace.ffloor, entry, bloodTrans);
}
}
}