1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-28 06:05:18 +01:00

Fix some (MSVC) compiler warnings

This commit is contained in:
Lars Mueller
2025-04-04 17:09:12 +02:00
committed by Lars Müller
parent 695d526764
commit e1143783e5
8 changed files with 13 additions and 15 deletions

View File

@@ -704,8 +704,8 @@ void Minimap::updateActiveMarkers()
continue;
}
m_active_markers.emplace_back(((float)pos.X / (float)MINIMAP_MAX_SX) - 0.5,
(1.0 - (float)pos.Z / (float)MINIMAP_MAX_SY) - 0.5);
m_active_markers.emplace_back(((float)pos.X / (float)MINIMAP_MAX_SX) - 0.5f,
(1.0f - (float)pos.Z / (float)MINIMAP_MAX_SY) - 0.5f);
}
}