mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-19 16:57:20 +07:00
Fixed Animation shadow blend mode
This commit is contained in:
parent
d4116eaa06
commit
f1fb2e69b2
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user