- 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:
Braden Obrzut 2012-10-22 21:58:52 +00:00
commit cd2c1f6816
4 changed files with 28 additions and 63 deletions

View file

@ -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);