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