2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 07:07:42 +00:00

CGameArea: Eliminate implicit sign conversions in Validate()

This commit is contained in:
Lioncash
2020-04-23 02:52:22 -04:00
parent 419d40051d
commit df3aed75fe
3 changed files with 17 additions and 14 deletions

View File

@@ -331,10 +331,10 @@ public:
s16 LookupPVSID(TUniqueId id) const;
const CPVSAreaSet* GetAreaVisSet() const { return GetPostConstructed()->xa0_pvs.get(); }
u32 Get1stPVSLightFeature(u32 lightIdx) const {
return GetAreaVisSet() ? GetAreaVisSet()->Get1stLightIndex(lightIdx) : -1;
return GetAreaVisSet() ? GetAreaVisSet()->Get1stLightIndex(lightIdx) : UINT32_MAX;
}
u32 Get2ndPVSLightFeature(u32 lightIdx) const {
return GetAreaVisSet() ? GetAreaVisSet()->Get2ndLightIndex(lightIdx) : -1;
return GetAreaVisSet() ? GetAreaVisSet()->Get2ndLightIndex(lightIdx) : UINT32_MAX;
}
const zeus::CTransform& GetTransform() const { return xc_transform; }