Removed gEntList failure notify on Windows. (bug 4832, r=fyren).
authorNicholas Hastings <skamonkey@gmail.com>
Mon Apr 11 22:30:03 2011 -0400 (2011-04-11)
changeset 3238fff6e001bf9b
parent 3237 8d02a3eca481
child 3239 13ca1a431057
Removed gEntList failure notify on Windows. (bug 4832, r=fyren).
core/HalfLife2.cpp
     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