loader/loader.cpp
changeset 858 a534b75f1b59
parent 857 d8cc9c7087b0
child 867 091cd2fb1a41
     1.1 --- a/loader/loader.cpp	Wed Oct 09 08:46:13 2013 -0400
     1.2 +++ b/loader/loader.cpp	Wed Oct 09 09:00:23 2013 -0400
     1.3 @@ -87,6 +87,7 @@
     1.4  	"2.nd",
     1.5  	"2.sdk2013",
     1.6  	"2.blade",
     1.7 +	"2.insurgency",
     1.8  };
     1.9  
    1.10  #if defined _WIN32
    1.11 @@ -276,6 +277,10 @@
    1.12  	}
    1.13  	else if (engineFactory("VEngineServer023", NULL) != NULL)
    1.14  	{
    1.15 +		if (strcmp(game_name, "insurgency") == 0)
    1.16 +		{
    1.17 +			return MMBackend_Insurgency;
    1.18 +		}
    1.19  		return MMBackend_CSGO;
    1.20  	}
    1.21  	else if (engineFactory("VEngineServer022", NULL) != NULL &&