This commit is contained in:
thedaneeffect committed 2022-09-04 17:15:50 -06:00
1 parent 46203d5455
commit 2ed0f2a04d
5 files changed
+78 -38

No files matched your search

+2 -2
View File
@@ -96,8 +96,8 @@ public class ProjectileEntity extends Entity {
anInt1595 = ((int) (Math.atan2(aDouble1574, aDouble1575) * 325.94900000000001D) + 1024) & 0x7ff;
anInt1596 = (int) (Math.atan2(aDouble1577, aDouble1576) * 325.94900000000001D) & 0x7ff;
if (aType_1592.seq != null) {
for (anInt1594 += i; anInt1594 > aType_1592.seq.getFrameDelay(anInt1593); ) {
anInt1594 -= aType_1592.seq.getFrameDelay(anInt1593) + 1;
for (anInt1594 += i; anInt1594 > aType_1592.seq.getFrameDuration(anInt1593); ) {
anInt1594 -= aType_1592.seq.getFrameDuration(anInt1593) + 1;
anInt1593++;
if (anInt1593 >= aType_1592.seq.frameCount) {
anInt1593 = 0;