Fix billboard facing camera only taking effect when used with XY billboarding

This commit is contained in:
Gene 2024-09-18 16:16:24 -07:00 committed by Rachael Alexanderson
parent 712dd1133d
commit 5347cdf569
No known key found for this signature in database
GPG Key ID: 26A8ACCE97115EE0
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ bool HWSprite::CalculateVertices(HWDrawInfo* di, FVector3* v, DVector3* vp)
float yy = -center.Y + y;
float zz = -center.Z + z;
// [Nash] check for special sprite drawing modes
if (drawWithXYBillboard || isWallSprite)
if (drawWithXYBillboard || drawBillboardFacingCamera || isWallSprite)
{
mat.MakeIdentity();
mat.Translate(center.X, center.Z, center.Y); // move to sprite center