Added support for "fuzzy" map names in L4D and later (bug 5599, r=asherkin).

This commit is contained in:
Nicholas Hastings
2013-02-14 19:28:12 -05:00
parent 14b9902f6d
commit b296af6fe4
6 changed files with 58 additions and 4 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ static cell_t IsMapValid(IPluginContext *pContext, const cell_t *params)
char *map;
pContext->LocalToString(params[1], &map);
return engine->IsMapValid(map);
return g_HL2.IsMapValid(map);
}
static cell_t IsDedicatedServer(IPluginContext *pContext, const cell_t *params)