Fixed legged units using wrong pathfinder
This commit is contained in:
@@ -36,7 +36,7 @@ abstract class LegsComp implements Posc, Rotc, Hitboxc, Flyingc, Unitc{
|
|||||||
@Override
|
@Override
|
||||||
@Replace
|
@Replace
|
||||||
public int pathType(){
|
public int pathType(){
|
||||||
return type.allowLegStep ? Pathfinder.costGround : Pathfinder.costLegs;
|
return type.allowLegStep ? Pathfinder.costLegs : Pathfinder.costGround;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user