Skip to content

Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.

fix(gameengine): count ModernWater.ini as fork-owned on every platform

Olcay Seygand212d3c3dec3
diff --git a/GeneralsMD/Code/GameEngine/Source/Common/System/FileSystem.cpp b/GeneralsMD/Code/GameEngine/Source/Common/System/FileSystem.cpp
index 0bd59740d..148d28f22 100644
--- a/GeneralsMD/Code/GameEngine/Source/Common/System/FileSystem.cpp
+++ b/GeneralsMD/Code/GameEngine/Source/Common/System/FileSystem.cpp
@@ -557,10 +557,8 @@ Bool FileSystem::isForkOwnedPath(const AsciiString& filename)
return TRUE;
if (starts("data\\ini\\mappedimages\\handcreated\\reforged") && ends(".ini"))
return TRUE;
-#if defined(__linux__)
if (p == "data\\ini\\modernwater.ini")
return TRUE;
-#endif
return p == "data\\patch.str"
|| starts("data\\turkish\\") || starts("data\\german\\")
|| starts("art\\textures\\reforged")