mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-02 22:18:09 +01:00
linux (compat): Add linux to most Win64 guards
This commit is contained in:
1 parent
8cf5675892
commit
9626065598
180 files changed
+941
-935
No files matched your search
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user