Fixed A_SprayDecal not working on 3D floors

This commit is contained in:
Boondorl 2024-11-29 07:24:30 -05:00 committed by Rachael Alexanderson
parent 0087616511
commit fc3a2e2ad1
No known key found for this signature in database
GPG key ID: 26A8ACCE97115EE0

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