v1.1.0: fixed checked cell VFX displaying incorrectly for 1 frame
This commit is contained in:
parent
415341bf57
commit
a6bfe99b1f
|
@ -48,7 +48,10 @@ public class CheckedCell extends Image {
|
||||||
this( pos );
|
this( pos );
|
||||||
delay = (Dungeon.level.trueDistance(pos, visSource)-1f);
|
delay = (Dungeon.level.trueDistance(pos, visSource)-1f);
|
||||||
//steadily accelerates as distance increases
|
//steadily accelerates as distance increases
|
||||||
if (delay > 0) delay = (float)Math.pow(delay, 0.67f)/10f;
|
if (delay > 0) {
|
||||||
|
delay = (float)Math.pow(delay, 0.67f)/10f;
|
||||||
|
alpha( 0 );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user