diff options
| author | void_17 <heroerror3@gmail.com> | 2026-03-02 17:39:35 +0700 |
|---|---|---|
| committer | void_17 <heroerror3@gmail.com> | 2026-03-02 17:39:35 +0700 |
| commit | b9a2951901dac21b08589c9d8b4a7eae78757726 (patch) | |
| tree | 6b750cbdde9d2bd2aeaec9880ac7db62e9356745 /Minecraft.World/Mth.cpp | |
| parent | 119bff351450ea16ffda550b6e0f67379b29f708 (diff) | |
Revert "Get rid of MSVC's __int64"
This reverts commit d63f79325f85e014361eb8cf1e41eaebedb1ae71.
Diffstat (limited to 'Minecraft.World/Mth.cpp')
| -rw-r--r-- | Minecraft.World/Mth.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/Mth.cpp b/Minecraft.World/Mth.cpp index 3b5412ad..eccd828e 100644 --- a/Minecraft.World/Mth.cpp +++ b/Minecraft.World/Mth.cpp @@ -50,9 +50,9 @@ int Mth::floor(float v) return v < i ? i - 1 : i; } -int64_t Mth::lfloor(double v) +__int64 Mth::lfloor(double v) { - int64_t i = (int64_t) v; + __int64 i = (__int64) v; return v < i ? i - 1 : i; } |
