Skip to content

Commit 6cb8152

Browse files
committed
ir missile wont go after ground targets
1 parent 61d1586 commit 6cb8152

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ https://youtu.be/P4Flz0XOtTk
1717

1818
## Special Thanks
1919

20-
__**pretzelpenguin777**__: Improved **Noah Chopper** and **Javi Plane** Model
20+
__**pretzelpenguin777**__: Improved **Noah Chopper**, **Javi Plane**, and **Axcel Truck** Model
2121

2222
**__kawaiicakes___**: Improved **Alexis Plane** Model
2323

2424
__**gabyloko**__: Improved **Andolf Sub Model** and **Spanish Translations**
25+
26+
__**d_water_loo**__: **Russian Translations**

src/main/java/com/onewhohears/dscombat/entity/weapon/IRMissile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static void updateIRTargetsList(Entity weapon, List<IrTarget> targets, fl
6868
clazz, getIrBoundingBox(weapon));
6969
for (int i = 0; i < entities.size(); ++i) {
7070
if (entities.get(i).isPassenger()) continue;
71-
if (!basicCheck(weapon, entities.get(i), false, fov)) continue;
71+
if (!basicCheck(weapon, entities.get(i), true, fov)) continue;
7272
float distSqr = (float)weapon.distanceToSqr(entities.get(i));
7373
targets.add(new IrTarget(entities.get(i),
7474
getSpecificEntityHeat(entities.get(i), heat) / distSqr));

0 commit comments

Comments
 (0)