core/HalfLife2.cpp
changeset 3238 fff6e001bf9b
parent 3221 ca0e525dcf86
child 3387 2e920b7fa23f
     1.1 --- a/core/HalfLife2.cpp	Sat Apr 09 15:52:58 2011 -0400
     1.2 +++ b/core/HalfLife2.cpp	Mon Apr 11 22:30:03 2011 -0400
     1.3 @@ -143,6 +143,7 @@
     1.4  	 */
     1.5  	if (g_pGameConf->GetMemSig("gEntList", (void **)&addr))
     1.6  	{
     1.7 +#if !defined PLATFORM_WINDOWS
     1.8  		if (!addr)
     1.9  		{
    1.10  			// Key exists so notify if lookup fails, but try other method.
    1.11 @@ -150,8 +151,11 @@
    1.12  		}
    1.13  		else
    1.14  		{
    1.15 +#endif
    1.16  			g_EntList = reinterpret_cast<void *>(addr);
    1.17 +#if !defined PLATFORM_WINDOWS
    1.18  		}
    1.19 +#endif
    1.20  	}
    1.21  
    1.22