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

Windows fixes

This commit is contained in:
Jack Andersen
2016-12-10 15:54:08 -10:00
parent 0dc6729144
commit 3a24b35df7
17 changed files with 34 additions and 30 deletions

View File

@@ -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);