bugfixes
This commit is contained in:
@@ -234,7 +234,9 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
|||||||
ai.commandPosition(posTarget);
|
ai.commandPosition(posTarget);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(unitIds.length > 0 && player == Vars.player){
|
||||||
if(teamTarget != null){
|
if(teamTarget != null){
|
||||||
Fx.attackCommand.at(teamTarget);
|
Fx.attackCommand.at(teamTarget);
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
@@ -110,10 +110,10 @@ public class RepairBeamWeapon extends Weapon{
|
|||||||
wy = unit.y + Angles.trnsy(weaponRotation, x, y);
|
wy = unit.y + Angles.trnsy(weaponRotation, x, y);
|
||||||
|
|
||||||
HealBeamMount heal = (HealBeamMount)mount;
|
HealBeamMount heal = (HealBeamMount)mount;
|
||||||
heal.target = null;
|
|
||||||
boolean canShoot = mount.shoot;
|
boolean canShoot = mount.shoot;
|
||||||
|
|
||||||
if(!autoTarget){
|
if(!autoTarget){
|
||||||
|
heal.target = null;
|
||||||
if(canShoot){
|
if(canShoot){
|
||||||
heal.lastEnd.set(heal.aimX, heal.aimY);
|
heal.lastEnd.set(heal.aimX, heal.aimY);
|
||||||
|
|
||||||
|
|||||||
@@ -76,9 +76,11 @@ public class AutoDoor extends Wall{
|
|||||||
|
|
||||||
public void setOpen(boolean open){
|
public void setOpen(boolean open){
|
||||||
this.open = open;
|
this.open = open;
|
||||||
(!open ? closefx : openfx).at(this, size);
|
|
||||||
doorSound.at(this);
|
|
||||||
pathfinder.updateTile(tile);
|
pathfinder.updateTile(tile);
|
||||||
|
if(wasVisible){
|
||||||
|
(!open ? closefx : openfx).at(this, size);
|
||||||
|
doorSound.at(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user