Added a mempool parameter to FS_LoadFile
[xonotic/darkplaces.git] / cmd.c
diff --git a/cmd.c b/cmd.c
index ec5e3cb..acba139 100644 (file)
--- a/cmd.c
+++ b/cmd.c
@@ -294,7 +294,7 @@ static void Cmd_Exec_f (void)
                return;
        }
 
                return;
        }
 
-       f = (char *)FS_LoadFile (Cmd_Argv(1), false);
+       f = (char *)FS_LoadFile (Cmd_Argv(1), tempmempool, false);
        if (!f)
        {
                Con_Printf("couldn't exec %s\n",Cmd_Argv(1));
        if (!f)
        {
                Con_Printf("couldn't exec %s\n",Cmd_Argv(1));