From b9a2951901dac21b08589c9d8b4a7eae78757726 Mon Sep 17 00:00:00 2001 From: void_17 Date: Mon, 2 Mar 2026 17:39:35 +0700 Subject: Revert "Get rid of MSVC's __int64" This reverts commit d63f79325f85e014361eb8cf1e41eaebedb1ae71. --- Minecraft.World/StructureFeature.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Minecraft.World/StructureFeature.h') diff --git a/Minecraft.World/StructureFeature.h b/Minecraft.World/StructureFeature.h index 22f4cd66..642e6aad 100644 --- a/Minecraft.World/StructureFeature.h +++ b/Minecraft.World/StructureFeature.h @@ -16,7 +16,7 @@ public: }; protected: - unordered_map cachedStructures; + unordered_map<__int64, StructureStart *> cachedStructures; public: ~StructureFeature(); @@ -29,12 +29,12 @@ public: bool isInsideFeature(int cellX, int cellY, int cellZ); TilePos *getNearestGeneratedFeature(Level *level, int cellX, int cellY, int cellZ); protected: - vector *getGuesstimatedFeaturePositions(); + vector *getGuesstimatedFeaturePositions(); /** * Returns true if the given chunk coordinates should hold a structure * source. - * + * * @param x * chunk x * @param z @@ -47,7 +47,7 @@ protected: /** * Creates a new instance of a structure source at the given chunk * coordinates. - * + * * @param x * chunk x * @param z -- cgit v1.2.3