This commit is contained in:
thedaneeffect committed 2021-03-16 05:49:56 -04:00
1 parent a4bb24e7e6
commit 626e6395ea
29 files changed
+3105 -2863

No files matched your search

+6 -6
View File
@@ -69,8 +69,8 @@ public class ProjectileEntity extends Entity {
return null;
}
int j = -1;
if (aType_1592.aType_407 != null) {
j = aType_1592.aType_407.anIntArray353[anInt1593];
if (aType_1592.seq != null) {
j = aType_1592.seq.primaryFrames[anInt1593];
}
Model model_1 = new Model(true, SeqFrame.isNull(j), false, model);
if (j != -1) {
@@ -95,11 +95,11 @@ public class ProjectileEntity extends Entity {
aDouble1577 += aDouble1578 * (double) i;
anInt1595 = ((int) (Math.atan2(aDouble1574, aDouble1575) * 325.94900000000001D) + 1024) & 0x7ff;
anInt1596 = (int) (Math.atan2(aDouble1577, aDouble1576) * 325.94900000000001D) & 0x7ff;
if (aType_1592.aType_407 != null) {
for (anInt1594 += i; anInt1594 > aType_1592.aType_407.method258(anInt1593); ) {
anInt1594 -= aType_1592.aType_407.method258(anInt1593) + 1;
if (aType_1592.seq != null) {
for (anInt1594 += i; anInt1594 > aType_1592.seq.getFrameDelay(anInt1593); ) {
anInt1594 -= aType_1592.seq.getFrameDelay(anInt1593) + 1;
anInt1593++;
if (anInt1593 >= aType_1592.aType_407.anInt352) {
if (anInt1593 >= aType_1592.seq.frameCount) {
anInt1593 = 0;
}
}