diff --git a/UI/HistoryBookUI.cs b/UI/HistoryBookUI.cs index aaeb05e..01885ad 100644 --- a/UI/HistoryBookUI.cs +++ b/UI/HistoryBookUI.cs @@ -237,8 +237,9 @@ public override void Update(GameTime gameTime) { DrawAnimation drawAnim = Main.itemAnimations[itemModel.ItemType]; if (drawAnim != null) { - height /= drawAnim.FrameCount; sourceRect = drawAnim.GetFrame(texture); + height = sourceRect.Height; + width = sourceRect.Width; } else { sourceRect = texture.Bounds;