Get rid of MSVC's __int64

Use either int64_t, uint64_t or long long and unsigned long long, defined as per C++11 standard
This commit is contained in:
void_17
2026-03-02 15:53:32 +07:00
parent d6ec138710
commit d63f79325f
308 changed files with 5371 additions and 5379 deletions

View File

@@ -48,7 +48,7 @@ ChunkSource *HellDimension::createRandomLevelSource() const
}
else
#endif
if (levelType == LevelType::lvl_flat)
if (levelType == LevelType::lvl_flat)
{
return new HellFlatLevelSource(level, level->getSeed());
}
@@ -68,7 +68,7 @@ bool HellDimension::isValidSpawn(int x, int z) const
return false;
}
float HellDimension::getTimeOfDay(__int64 time, float a) const
float HellDimension::getTimeOfDay(int64_t time, float a) const
{
return 0.5f;
}