maxRange overriding on laser bulllets (#4873)

This commit is contained in:
MEEP of Faith
2021-03-28 15:42:26 -07:00
committed by GitHub
parent d04eaa81e0
commit 8b2e78ab1e
4 changed files with 4 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ public class ContinuousLaserBulletType extends BulletType{
@Override
public float range(){
return length;
return Math.max(length, maxRange);
}
@Override

View File

@@ -56,7 +56,7 @@ public class LaserBulletType extends BulletType{
@Override
public float range(){
return length;
return Math.max(length, maxRange);
}
@Override

View File

@@ -50,7 +50,7 @@ public class SapBulletType extends BulletType{
@Override
public float range(){
return length;
return Math.max(length, maxRange);
}
@Override

View File

@@ -47,7 +47,7 @@ public class ShrapnelBulletType extends BulletType{
@Override
public float range(){
return length;
return Math.max(length, maxRange);
}
@Override