mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
Merge branch 'ext_skin_check' of https://github.com/alexey-lysiuk/gzdoom
This commit is contained in:
commit
c54a4fe06b
1 changed files with 12 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue