Remove XERO_ITER_ATTR

This commit is contained in:
phosit
2026-09-07 18:06:58 +02:00
parent c69ded6f30
commit f8ea2c0d49
9 changed files with 84 additions and 91 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
/* Copyright (C) 2025 Wildfire Games.
/* Copyright (C) 2026 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@@ -95,7 +95,7 @@ CTerrainTextureEntry::CTerrainTextureEntry(CTerrainPropertiesPtr properties, con
CStr name;
VfsPath terrainTexturePath;
XERO_ITER_ATTR(textures_element, relativePath)
for (XMBAttribute relativePath : textures_element.GetAttributes())
{
if (relativePath.Name == at_file)
terrainTexturePath = VfsPath("art/textures/terrain") / relativePath.Value.FromUTF8();