sourcemm/metamod_console.cpp
changeset 481 5a2e34651450
parent 396 ed81bca8944a
child 482 f881da6de3a5
     1.1 --- a/sourcemm/metamod_console.cpp	Mon Nov 26 14:03:25 2007 +0000
     1.2 +++ b/sourcemm/metamod_console.cpp	Fri Dec 14 04:32:47 2007 +0000
     1.3 @@ -25,6 +25,7 @@
     1.4   * Version: $Id$
     1.5   */
     1.6  
     1.7 +#include "metamod_oslink.h"
     1.8  #if defined _DEBUG
     1.9  #define DEBUG2
    1.10  #undef _DEBUG
    1.11 @@ -54,6 +55,12 @@
    1.12  {
    1.13  	unsigned int args = info->GetArgCount();
    1.14  
    1.15 +	if (provider->IsAlternatelyLoaded() && !g_Metamod.IsAlternateLoadComplete())
    1.16 +	{
    1.17 +		CONMSG("You must change the map to activate Metamod:Source.\n");
    1.18 +		return true;
    1.19 +	}
    1.20 +
    1.21  	if (args >= 1)
    1.22  	{
    1.23  		const char *command = info->GetArg(1);