Skip to content

Commit

Permalink
Fix tiles window nre
Browse files Browse the repository at this point in the history
  • Loading branch information
kaczy93 authored Jun 25, 2024
1 parent 2b6b6ee commit 72bd846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CentrED/UI/Windows/TilesWindow.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using CentrED.IO;
using CentrED.IO;
using CentrED.IO.Models;
using CentrED.Map;
using ClassicUO.Assets;
Expand Down Expand Up @@ -390,7 +390,7 @@ private TileInfo StaticInfo(int index)
}
ref var indexEntry = ref ArtLoader.Instance.GetValidRefEntry(index + 0x4000);

var spriteInfo = CEDGame.MapManager.Arts.GetLand((uint)(index + indexEntry.AnimOffset));
var spriteInfo = CEDGame.MapManager.Arts.GetArt((uint)(index + indexEntry.AnimOffset));
var realBounds = CEDGame.MapManager.Arts.GetRealArtBounds((uint)index);
var name = TileDataLoader.Instance.StaticData[index].Name;
return new
Expand Down

0 comments on commit 72bd846

Please sign in to comment.