Browse Source

Blend cleanup

combat-2
MagicBot 1 year ago
parent
commit
bd208bd1ab
  1. 4
      src/engine/InterestManagement/Terrain.java

4
src/engine/InterestManagement/Terrain.java

@ -208,9 +208,9 @@ public class Terrain { @@ -208,9 +208,9 @@ public class Terrain {
float value;
if (normalizedLoc.x <= 1 - xval || normalizedLoc.y <= 1 - yval) {
if (normalizedLoc.x <= 1 - xval || normalizedLoc.x <= normalizedLoc.y) {
if (normalizedLoc.x < 1 - xval)
if (normalizedLoc.y < 1 - yval)
return 1;
value = (normalizedLoc.y - (1 - yval)) / yval;

Loading…
Cancel
Save