Update Turret.java

This commit is contained in:
Leonwang4234
2020-10-28 20:09:45 -07:00
parent 024f64678c
commit 19bc6f6e48

View File

@@ -364,7 +364,7 @@ public abstract class Turret extends ReloadTurret{
//otherwise, use the normal shot pattern(s)
if(alternate){
float i = (shotCounter % shots) - shots/2f + (((shots+1)%2) / 2f);
float i = (shotCounter % shots) - (shots-1)/2f;
tr.trns(rotation - 90, spread * i + Mathf.range(xRand), size * tilesize / 2f);
bullet(type, rotation + Mathf.range(inaccuracy));