extensions/tf2/extension.cpp
changeset 2600 f78e5656cc6f
parent 2289 44045ead61cd
child 2619 1c0acf43cc0c
     1.1 --- a/extensions/tf2/extension.cpp	Thu Feb 19 14:22:22 2009 +1300
     1.2 +++ b/extensions/tf2/extension.cpp	Thu Feb 26 12:42:13 2009 +1300
     1.3 @@ -90,7 +90,7 @@
     1.4  	char conf_error[255] = "";
     1.5  	if (!gameconfs->LoadGameConfigFile("sm-tf2.games", &g_pGameConf, conf_error, sizeof(conf_error)))
     1.6  	{
     1.7 -		if (conf_error)
     1.8 +		if (conf_error[0])
     1.9  		{
    1.10  			UTIL_Format(error, maxlength, "Could not read sm-tf2.games.txt: %s", conf_error);
    1.11  		}