Actually use game path instead of SM path as base.

This commit is contained in:
Nicholas Hastings 2015-02-07 09:25:25 -08:00
parent 261e135845
commit 00ad38f5b7

View File

@ -399,7 +399,7 @@ CON_COMMAND(sm_dump_handles, "Dumps Handle usage to a file for finding Handle le
{ {
char filename[PLATFORM_MAX_PATH]; char filename[PLATFORM_MAX_PATH];
const char *arg = args.Arg(1); const char *arg = args.Arg(1);
g_SourceMod.BuildPath(Path_SM, filename, sizeof(filename), "%s", arg); g_SourceMod.BuildPath(Path_Game, filename, sizeof(filename), "%s", arg);
FILE *fp = fopen(filename, "wt"); FILE *fp = fopen(filename, "wt");
if (!fp) if (!fp)