From 55231bb8d3e1a4e2752ac3d444c4287eb0ca4e8b Mon Sep 17 00:00:00 2001 From: void_17 <61356189+void2012@users.noreply.github.com> Date: Fri, 6 Mar 2026 02:11:18 +0700 Subject: Remove AUTO_VAR macro and _toString function (#592) --- Minecraft.Client/HorseRenderer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Minecraft.Client/HorseRenderer.cpp') diff --git a/Minecraft.Client/HorseRenderer.cpp b/Minecraft.Client/HorseRenderer.cpp index 006f9e20..e01542d5 100644 --- a/Minecraft.Client/HorseRenderer.cpp +++ b/Minecraft.Client/HorseRenderer.cpp @@ -83,9 +83,9 @@ ResourceLocation *HorseRenderer::getOrCreateLayeredTextureLocation(shared_ptrgetLayeredTextureHashName(); - AUTO_VAR(it, LAYERED_LOCATION_CACHE.find(textureName)); + auto it = LAYERED_LOCATION_CACHE.find(textureName); - ResourceLocation *location; + ResourceLocation *location; if (it != LAYERED_LOCATION_CACHE.end()) { location = it->second; @@ -93,7 +93,7 @@ ResourceLocation *HorseRenderer::getOrCreateLayeredTextureLocation(shared_ptrgetLayeredTextureLayers()); - + it = LAYERED_LOCATION_CACHE.find(textureName); location = it->second; } -- cgit v1.2.3