core-legacy/concommands.cpp
changeset 683 b507295429f9
parent 668 648275cfea07
child 689 4065ba5e9155
     1.1 --- a/core-legacy/concommands.cpp	Tue Nov 17 04:49:17 2009 -0500
     1.2 +++ b/core-legacy/concommands.cpp	Sun Nov 22 23:54:55 2009 -0600
     1.3 @@ -1,5 +1,5 @@
     1.4  /* ======== SourceMM ========
     1.5 - * Copyright (C) 2004-2008 Metamod:Source Development Team
     1.6 + * Copyright (C) 2004-2009 Metamod:Source Development Team
     1.7   * No warranties of any kind
     1.8   *
     1.9   * License: zlib/libpng
    1.10 @@ -15,7 +15,6 @@
    1.11  #include "CPlugin.h"
    1.12  #include "sh_string.h"
    1.13  #include "sh_list.h"
    1.14 -#include "vsp_listener.h"
    1.15  #include "util.h"
    1.16  
    1.17  /**
    1.18 @@ -121,7 +120,7 @@
    1.19  
    1.20  	int args = e->Cmd_Argc();
    1.21  
    1.22 -	if (g_bIsBridgedAsVsp && !g_bLevelChanged)
    1.23 +	if (!g_GameDll.loaded && !g_bLevelChanged)
    1.24  	{
    1.25  		CONMSG("WARNING: You must change the map to activate Metamod:Source.\n");
    1.26  		return;
    1.27 @@ -143,13 +142,13 @@
    1.28  		} else if (strcmp(command, "version") == 0) {
    1.29  			CONMSG("Metamod:Source version %s\n", MMS_FULL_VERSION);
    1.30  			CONMSG("Build ID: %s\n", MMS_BUILD_UNIQUEID);
    1.31 -			if (g_bIsBridgedAsVsp)
    1.32 +			if (g_GameDll.loaded)
    1.33  			{
    1.34 -				CONMSG("Loaded As: Valve Server Plugin\n");
    1.35 +				CONMSG("Loaded As: GameDLL (gameinfo.txt)\n");
    1.36  			}
    1.37  			else
    1.38  			{
    1.39 -				CONMSG("Loaded As: GameDLL (gameinfo.txt)\n");
    1.40 +				CONMSG("Loaded As: Valve Server Plugin\n");
    1.41  			}
    1.42  			CONMSG("Compiled on: %s\n", SOURCEMM_DATE);
    1.43  			CONMSG("Plugin interface version: %d:%d\n", PLAPI_VERSION, PLAPI_MIN_VERSION);