Added support for "fuzzy" map names in L4D and later (bug 5599, r=asherkin).
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user