Fixed Animation shadow blend mode

This commit is contained in:
Collin Smith 2019-02-22 21:20:53 -08:00
parent d4116eaa06
commit f1fb2e69b2

View File

@ -296,7 +296,7 @@ public class Animation extends BaseDrawable {
if (layer.regions[d] == null) layer.load(d); if (layer.regions[d] == null) layer.load(d);
TextureRegion region = layer.regions[d][f]; TextureRegion region = layer.regions[d][f];
batch.setBlendMode(BlendMode.TINT_BLACKS, SHADOW_TINT); batch.setBlendMode(BlendMode.SOLID, SHADOW_TINT);
batch.draw(region, region.getRegionWidth(), region.getRegionHeight(), SHADOW_TRANSFORM); batch.draw(region, region.getRegionWidth(), region.getRegionHeight(), SHADOW_TRANSFORM);
} }