v0.4.2b: removed blood associated with the heroes

This commit is contained in:
Evan Debenham
2016-09-14 17:58:07 -04:00
parent 5da611f452
commit ae6d4ad842
3 changed files with 22 additions and 15 deletions

View File

@@ -54,7 +54,7 @@ public class ColorMath {
} else if (p >= 1) {
return colors[colors.length-1];
}
int segment = (int)(colors.length * p);
int segment = (int)((colors.length-1) * p);
return interpolate( colors[segment], colors[segment+1], (p * (colors.length - 1)) % 1 );
}