This commit is contained in:
Alug committed 2025-04-19 01:25:51 +02:00
1 parent 9e8fb1293f
commit 2f736fb28c
1 file changed
+5 -1
+5 -1
View File
@@ -1522,7 +1522,11 @@ static void R_ProjectSprite(mobj_t *thing)
}
// Compatibility with MSVC - SSNTails
scalestep = ((yscale2 - yscale)/range) ?: 1;
scalestep = ((yscale2 - yscale)/range);
if (scalestep == 0)
scalestep = 1;
xscale = FixedDiv(range<<FRACBITS, abs(offset2));
// The following two are alternate sorting methods which might be more applicable in some circumstances. TODO - maybe enable via MF2?