- floatified the decal code.

This commit is contained in:
Christoph Oelckers 2016-03-22 22:07:38 +01:00
commit 301f5abadc
12 changed files with 178 additions and 158 deletions

View file

@ -1445,7 +1445,7 @@ void P_ExplodeMissile (AActor *mo, line_t *line, AActor *target)
}
}
DImpactDecal::StaticCreate(base->GetDecal(), { x, y, z }, line->sidedef[side], ffloor);
DImpactDecal::StaticCreate(base->GetDecal(), DVector3(FIXED2DBL(x), FIXED2DBL(y), FIXED2DBL(z)), line->sidedef[side], ffloor);
}
}
}