- Remove 255 character length restriction on lump names.
- Removed directory checking for big endian wads since the header check should be sufficient. SVN r3899 (trunk)
This commit is contained in:
parent
4b218c1c18
commit
cd2c1f6816
4 changed files with 28 additions and 63 deletions
|
|
@ -96,15 +96,10 @@ FResourceLump::~FResourceLump()
|
|||
|
||||
void FResourceLump::LumpNameSetup(const char *iname)
|
||||
{
|
||||
char base[256];
|
||||
const char *lname = strrchr(iname,'/');
|
||||
lname = (lname == NULL) ? iname : lname + 1;
|
||||
strcpy(base, lname);
|
||||
char *dot = strrchr(base, '.');
|
||||
if (dot != NULL)
|
||||
{
|
||||
*dot = 0;
|
||||
}
|
||||
FString base = lname;
|
||||
base = base.Left(base.LastIndexOf('.'));
|
||||
uppercopy(Name, base);
|
||||
Name[8] = 0;
|
||||
FullName = copystring(iname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue