linux (compat): Add linux to most Win64 guards

This commit is contained in:
Anaël committed 2026-11-29 13:33:39 +01:00
1 parent 8cf5675892
commit 9626065598
180 files changed
+941 -935

No files matched your search

+2 -2
View File
@@ -21,7 +21,7 @@
#include "../Minecraft.World/net.minecraft.world.level.chunk.h"
#include "PlayerConnection.h"
#ifdef _WINDOWS64
#if defined(_WINDOWS64) || defined(__linux__)
extern bool g_Win64DedicatedServer;
#endif
@@ -149,7 +149,7 @@ void EntityTracker::tick()
// NOTE: On dedicated servers, IsSameSystem() always returns false for remote
// players (no split-screen), so this loop does nothing. Skip it entirely to
// avoid the O(players * movedPlayers) overhead.
#ifdef _WINDOWS64
#if defined(_WINDOWS64) || defined(__linux__)
if (!g_Win64DedicatedServer)
#endif
{