Remove u32

It's better to use types from the standard library.
This commit is contained in:
phosit
2026-09-09 09:59:47 +02:00
parent 500606e587
commit 6a0c8c1a5a
185 changed files with 878 additions and 938 deletions
+2 -2
View File
@@ -1154,7 +1154,7 @@ void CXMLReader::ReadEntities(XMBElement entity, CSimulation2& sim)
if (cmpVisual)
{
if (Seed != -1)
cmpVisual->SetActorSeed((u32)Seed);
cmpVisual->SetActorSeed(static_cast<std::uint32_t>(Seed));
// TODO: variation/selection strings
}
@@ -1382,7 +1382,7 @@ int CMapReader::ParseTerrain()
"Error parsing terrain data.\nCheck application log for details");
};
u32 size;
std::uint32_t size;
getTerrainProperty(m_MapData, "size", size);
m_PatchesPerSide = size / PATCH_SIZE;