loader/serverplugin.cpp
changeset 780 35f2a207badf
parent 729 ce8a0557380a
child 820 a05f33ba5ad4
     1.1 --- a/loader/serverplugin.cpp	Sat May 26 15:46:15 2012 -0400
     1.2 +++ b/loader/serverplugin.cpp	Sat May 26 17:07:26 2012 -0400
     1.3 @@ -132,9 +132,8 @@
     1.4  			this_vtable[mfp_dest.vtblindex] = vtable_src[mfp_src.vtblindex];
     1.5  		}
     1.6  
     1.7 -#ifdef _WIN32
     1.8  		/* AS inserted ClientFullyConnect into vtable, so move entries up on older engines */
     1.9 -		if (mm_backend != MMBackend_AlienSwarm)
    1.10 +		if (mm_backend < MMBackend_AlienSwarm)
    1.11  		{
    1.12  			SourceHook::MemFuncInfo mfp_fconnect;
    1.13  			mfp_fconnect.isVirtual = false;
    1.14 @@ -155,7 +154,6 @@
    1.15  					&this_vtable[mfp_fconnect.vtblindex + 1],
    1.16  					sizeof(void *) * 8);
    1.17  		}
    1.18 -#endif
    1.19  
    1.20  		char error[255];
    1.21  		if (gamedll_bridge == NULL)
    1.22 @@ -240,11 +238,9 @@
    1.23  	virtual void ClientActive(edict_t *pEntity)
    1.24  	{
    1.25  	}
    1.26 -#ifdef _WIN32
    1.27  	virtual void ClientFullyConnect(edict_t *pEntity)
    1.28  	{
    1.29  	}
    1.30 -#endif
    1.31  	virtual void ClientDisconnect(edict_t *pEntity)
    1.32  	{
    1.33  	}