From 75ebe677132deb0e7f8b9bfff430ab881b6d480f Mon Sep 17 00:00:00 2001 From: Evaldas Ciakas Date: Wed, 1 Nov 2023 02:29:06 +0200 Subject: [PATCH] Fix parsing secondary textures --- AssetStudio/Classes/Sprite.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AssetStudio/Classes/Sprite.cs b/AssetStudio/Classes/Sprite.cs index 752794f5..2e597e6b 100644 --- a/AssetStudio/Classes/Sprite.cs +++ b/AssetStudio/Classes/Sprite.cs @@ -12,7 +12,7 @@ public class SecondarySpriteTexture public SecondarySpriteTexture(ObjectReader reader) { texture = new PPtr(reader); - name = reader.ReadStringToNull(); + name = reader.ReadAlignedString(); } }