mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-05 20:55:59 +00:00
CPoiToWorldCooker: Make use of unsigned stream utilities
This commit is contained in:
parent
5661d0263e
commit
be97a39778
@ -21,12 +21,12 @@ bool CPoiToWorldCooker::CookEGMC(CPoiToWorld *pPoiToWorld, IOutputStream& rOut)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Write EGMC
|
// Write EGMC
|
||||||
rOut.WriteLong(Mappings.size());
|
rOut.WriteULong(static_cast<uint32>(Mappings.size()));
|
||||||
|
|
||||||
for (const auto& mapping : Mappings)
|
for (const auto& mapping : Mappings)
|
||||||
{
|
{
|
||||||
rOut.WriteLong(mapping.MeshID);
|
rOut.WriteULong(mapping.MeshID);
|
||||||
rOut.WriteLong(mapping.PoiID);
|
rOut.WriteULong(mapping.PoiID);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user