This commit is contained in:
Christoph Oelckers 2015-02-07 13:02:19 +01:00
commit c54a4fe06b

View file

@ -581,9 +581,18 @@ void FWadFile::SkinHack ()
namespc++;
}
}
if (lump->Name[0] == 'M' &&
if ((lump->Name[0] == 'M' &&
lump->Name[1] == 'A' &&
lump->Name[2] == 'P')
lump->Name[2] == 'P' &&
lump->Name[3] >= '0' && lump->Name[3] <= '9' &&
lump->Name[4] >= '0' && lump->Name[4] <= '9' &&
lump->Name[5] >= '\0')
||
(lump->Name[0] == 'E' &&
lump->Name[1] >= '0' && lump->Name[1] <= '9' &&
lump->Name[2] == 'M' &&
lump->Name[3] >= '0' && lump->Name[3] <= '9' &&
lump->Name[4] >= '\0'))
{
hasmap = true;
}