mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-13 22:02:40 +00:00
Remove u32
It's better to use types from the standard library.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user