Skip to content

Commit 536dbad

Browse files
committed
Fix overlay shadows
1 parent 0cc2e76 commit 536dbad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/TSMapEditor/Models/Overlay.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public override int GetFrameIndex(int frameCount)
1717

1818
public override int GetShadowFrameIndex(int frameCount)
1919
{
20-
return 100;
20+
return frameCount / 2 + FrameIndex;
2121
}
2222

2323
public override bool HasShadow() => true;

0 commit comments

Comments
 (0)