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
+2 -1
View File
@@ -33,6 +33,7 @@
#include <sm_trie_tpl.h>
#include "common_logic.h"
#include "CellArray.h"
#include <IGameHelpers.h>
#include <ILibrarySys.h>
#include <ITextParsers.h>
#include <ISourceMod.h>
@@ -524,7 +525,7 @@ private:
{
continue;
}
if (!engine->IsMapValid(ptr))
if (!gamehelpers->IsMapValid(ptr))
{
continue;
}