Fixed MSVC warnings (#4400)
This commit is contained in:
@@ -572,7 +572,7 @@ void cChunkDesc::RandomFillRelCuboid(
|
||||
|
||||
cBlockEntity * cChunkDesc::GetBlockEntity(int a_RelX, int a_RelY, int a_RelZ)
|
||||
{
|
||||
auto Idx = cChunkDef::MakeIndex(a_RelX, a_RelY, a_RelZ);
|
||||
auto Idx = static_cast<size_t>(cChunkDef::MakeIndex(a_RelX, a_RelY, a_RelZ));
|
||||
auto itr = m_BlockEntities.find(Idx);
|
||||
|
||||
if (itr != m_BlockEntities.end())
|
||||
|
||||
Reference in New Issue
Block a user