This commit is contained in:
Alug committed 2025-04-19 01:25:45 +02:00
1 parent fa3d2abe13
commit 127e8b52d1
1 file changed
+5 -1
+5 -1
View File
@@ -1518,7 +1518,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?