Smaller fungal pass
This commit is contained in:
Binary file not shown.
@@ -72,7 +72,6 @@ abstract class TankComp implements Posc, Hitboxc, Unitc, ElevationMovec{
|
|||||||
anyNonDeep = true;
|
anyNonDeep = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO should this apply to the player team(s)? currently PvE due to balancing
|
|
||||||
if(type.crushDamage > 0 && !disarmed && (walked || deltaLen() >= 0.01f) && t != null
|
if(type.crushDamage > 0 && !disarmed && (walked || deltaLen() >= 0.01f) && t != null
|
||||||
//damage radius is 1 tile smaller to prevent it from just touching walls as it passes
|
//damage radius is 1 tile smaller to prevent it from just touching walls as it passes
|
||||||
&& Math.max(Math.abs(dx), Math.abs(dy)) <= r - 1){
|
&& Math.max(Math.abs(dx), Math.abs(dy)) <= r - 1){
|
||||||
|
|||||||
@@ -1294,9 +1294,8 @@ public class Mods implements Loadable{
|
|||||||
return blacklistedMods.contains(name);
|
return blacklistedMods.contains(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @return whether this mod is outdated, i.e. not compatible with v8/v7. */
|
/** @return whether this mod is outdated, i.e. not compatible with v8. */
|
||||||
public boolean isOutdated(){
|
public boolean isOutdated(){
|
||||||
//must be at least 136 to indicate v7 compat
|
|
||||||
return getMinMajor() < (isJava() ? minJavaModGameVersion : minModGameVersion);
|
return getMinMajor() < (isJava() ? minJavaModGameVersion : minModGameVersion);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user