mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
Windows fixes
This commit is contained in:
@@ -32,9 +32,9 @@ public:
|
||||
void SetLayerActive(int areaIdx, int layerIdx, bool active)
|
||||
{
|
||||
if (active)
|
||||
x0_areaLayers[areaIdx].m_layerBits |= 1 << layerIdx;
|
||||
x0_areaLayers[areaIdx].m_layerBits |= uint64_t(1) << layerIdx;
|
||||
else
|
||||
x0_areaLayers[areaIdx].m_layerBits &= ~(1 << layerIdx);
|
||||
x0_areaLayers[areaIdx].m_layerBits &= ~(uint64_t(1) << layerIdx);
|
||||
}
|
||||
|
||||
void InitializeWorldLayers(const std::vector<CWorldLayers::Area>& layers);
|
||||
|
||||
Reference in New Issue
Block a user