This commit is contained in:
Anuken
2022-07-18 10:01:24 -04:00
parent 7680b4e0c5
commit 2c6b2a6fa9
@@ -162,6 +162,7 @@ public class RepairBeamWeapon extends Weapon{
HealBeamMount heal = (HealBeamMount)mount; HealBeamMount heal = (HealBeamMount)mount;
if(unit.canShoot()){
float float
weaponRotation = unit.rotation - 90, weaponRotation = unit.rotation - 90,
wx = unit.x + Angles.trnsx(weaponRotation, x, y), wx = unit.x + Angles.trnsx(weaponRotation, x, y),
@@ -173,6 +174,7 @@ public class RepairBeamWeapon extends Weapon{
laser, laserEnd, laserTop, laserTopEnd); laser, laserEnd, laserTop, laserTopEnd);
Draw.z(z); Draw.z(z);
} }
}
@Override @Override
public void init(){ public void init(){