diff options
| author | void_17 <61356189+void2012@users.noreply.github.com> | 2026-03-07 03:31:30 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-07 03:31:30 +0700 |
| commit | 988e3042e00485aa7ed3725fe7bfde1da8cf8519 (patch) | |
| tree | cf712d80b4d03eec73f935e0cce23020ddb6f5ef /Minecraft.Client/PlayerChunkMap.h | |
| parent | 175fc3824e502ecd701c1da2ecd2061d77495693 (diff) | |
Remove all MSVC `__int64` (#742)
Diffstat (limited to 'Minecraft.Client/PlayerChunkMap.h')
| -rw-r--r-- | Minecraft.Client/PlayerChunkMap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Minecraft.Client/PlayerChunkMap.h b/Minecraft.Client/PlayerChunkMap.h index 9d1ab1b5..b19f176d 100644 --- a/Minecraft.Client/PlayerChunkMap.h +++ b/Minecraft.Client/PlayerChunkMap.h @@ -45,7 +45,7 @@ public: int zChangeMin, zChangeMax; int ticksToNextRegionUpdate; // 4J added bool prioritised; // 4J added - __int64 firstInhabitedTime; + int64_t firstInhabitedTime; public: PlayerChunk(int x, int z, PlayerChunkMap *pcm); @@ -73,7 +73,7 @@ public: vector<shared_ptr<ServerPlayer> > players; void flagEntitiesToBeRemoved(unsigned int *flags, bool *removedFound); // 4J added private: - unordered_map<__int64,PlayerChunk *,LongKeyHash,LongKeyEq> chunks; // 4J - was LongHashMap + unordered_map<int64_t,PlayerChunk *,LongKeyHash,LongKeyEq> chunks; // 4J - was LongHashMap vector<PlayerChunk *> changedChunks; vector<PlayerChunk *> knownChunks; vector<PlayerChunkAddRequest> addRequests; // 4J added @@ -82,7 +82,7 @@ private: ServerLevel *level; int radius; int dimension; - __int64 lastInhabitedUpdate; + int64_t lastInhabitedUpdate; public: PlayerChunkMap(ServerLevel *level, int dimension, int radius); |
