- replaced wadlist_t with an array of FStrings and added a list parameter to
everything that eventually calls D_AddFile. Also create the list of files loaded on the command line separately to allow further checks on them. SVN r2072 (trunk)
This commit is contained in:
parent
bf7ed6258b
commit
370eff9014
7 changed files with 93 additions and 86 deletions
|
|
@ -1376,6 +1376,7 @@ void FConsoleAlias::SafeDelete ()
|
|||
|
||||
static BYTE PullinBad = 2;
|
||||
static const char *PullinFile;
|
||||
extern TArray<FString> allwads;
|
||||
|
||||
int C_ExecFile (const char *file, bool usePullin)
|
||||
{
|
||||
|
|
@ -1492,7 +1493,7 @@ CCMD (pullin)
|
|||
FixPathSeperator (path);
|
||||
}
|
||||
}
|
||||
D_AddFile (path);
|
||||
D_AddFile (allwads, path);
|
||||
if (path != argv[i])
|
||||
{
|
||||
delete[] path;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue