mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-07 21:55:58 +00:00
CWorld: Eliminate sign conversion warnings
This commit is contained in:
parent
35ea47e473
commit
9e3018809f
@ -43,7 +43,9 @@ void CWorld::SetAreaLayerInfo(CGameArea *pArea)
|
|||||||
|
|
||||||
for (uint32 iLyr = 0; iLyr < pArea->NumScriptLayers(); iLyr++)
|
for (uint32 iLyr = 0; iLyr < pArea->NumScriptLayers(); iLyr++)
|
||||||
{
|
{
|
||||||
if (AreaInfo.Layers.size() <= iLyr) break;
|
if (AreaInfo.Layers.size() <= iLyr)
|
||||||
|
break;
|
||||||
|
|
||||||
CScriptLayer *pLayer = pArea->ScriptLayer(iLyr);
|
CScriptLayer *pLayer = pArea->ScriptLayer(iLyr);
|
||||||
SArea::SLayer& rLayerInfo = AreaInfo.Layers[iLyr];
|
SArea::SLayer& rLayerInfo = AreaInfo.Layers[iLyr];
|
||||||
|
|
||||||
@ -78,7 +80,7 @@ uint32 CWorld::AreaIndex(CAssetID AreaID) const
|
|||||||
return AreaIdx;
|
return AreaIdx;
|
||||||
}
|
}
|
||||||
|
|
||||||
return -1;
|
return UINT32_MAX;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************ SERIALIZATION ************
|
// ************ SERIALIZATION ************
|
||||||
|
Loading…
x
Reference in New Issue
Block a user