- Fixed: FWadCollection::AddFile() did not call FixPathSeperator(), so
savegames would hold the full file path for wads that had been specified with backslash characters, because GetWadName() would not trim off the path. SVN r1994 (trunk)
This commit is contained in:
parent
a97f22bfcd
commit
f305b2f70c
3 changed files with 9 additions and 2 deletions
|
|
@ -222,7 +222,7 @@ int FWadCollection::AddExternalFile(const char *filename)
|
|||
// [RH] Removed reload hack
|
||||
//==========================================================================
|
||||
|
||||
void FWadCollection::AddFile (const char *filename, FileReader *wadinfo)
|
||||
void FWadCollection::AddFile (char *filename, FileReader *wadinfo)
|
||||
{
|
||||
int startlump;
|
||||
bool isdir = false;
|
||||
|
|
@ -252,6 +252,7 @@ void FWadCollection::AddFile (const char *filename, FileReader *wadinfo)
|
|||
return;
|
||||
}
|
||||
}
|
||||
FixPathSeperator(filename);
|
||||
}
|
||||
|
||||
Printf (" adding %s", filename);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue