extensions/sdktools/output.cpp
changeset 2122 2c31629b07f4
parent 2062 88443d433b8c
child 2400 76b7b4575e21
     1.1 --- a/extensions/sdktools/output.cpp	Sat Jun 21 09:28:42 2008 +0000
     1.2 +++ b/extensions/sdktools/output.cpp	Thu Jun 26 08:07:47 2008 +0000
     1.3 @@ -76,7 +76,12 @@
     1.4  
     1.5  bool EntityOutputManager::CreateFireEventDetour()
     1.6  {
     1.7 -	if (!g_pGameConf->GetMemSig("FireOutput", &info_address) || !info_address)
     1.8 +	if (!g_pGameConf->GetMemSig("FireOutput", &info_address))
     1.9 +	{
    1.10 +		return false;
    1.11 +	}
    1.12 +
    1.13 +	if (!info_address)
    1.14  	{
    1.15  		g_pSM->LogError(myself, "Could not locate FireOutput - Disabling Entity Outputs");
    1.16  		return false;
    1.17 @@ -84,7 +89,6 @@
    1.18  
    1.19  	if (!g_pGameConf->GetOffset("FireOutputBackup", (int *)&(info_restore.bytes)))
    1.20  	{
    1.21 -		g_pSM->LogError(myself, "Could not locate FireOutputBackup - Disabling Entity Outputs");
    1.22  		return false;
    1.23  	}
    1.24