mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-21 18:32:08 +00:00
Merge branch 'skin-wads-again' into 'master'
So I don't know what a skin wad is... (closes #282) Closes #282 See merge request STJr/SRB2Internal!449
This commit is contained in:
commit
afd461a860
1 changed files with 10 additions and 7 deletions
|
@ -400,10 +400,6 @@ void R_AddSpriteDefs(UINT16 wadnum)
|
|||
start = W_CheckNumForNamePwad("S_START", wadnum, 0);
|
||||
if (start == INT16_MAX)
|
||||
start = W_CheckNumForNamePwad("SS_START", wadnum, 0); //deutex compatib.
|
||||
if (start == INT16_MAX)
|
||||
start = 0; //let say S_START is lump 0
|
||||
else
|
||||
start++; // just after S_START
|
||||
|
||||
end = W_CheckNumForNamePwad("S_END",wadnum,start);
|
||||
if (end == INT16_MAX)
|
||||
|
@ -417,9 +413,16 @@ void R_AddSpriteDefs(UINT16 wadnum)
|
|||
return;
|
||||
}
|
||||
|
||||
// ignore skin wads (we don't want skin sprites interfering with vanilla sprites)
|
||||
if (start == 0 && W_CheckNumForNamePwad("S_SKIN", wadnum, 0) != UINT16_MAX)
|
||||
return;
|
||||
if (start == INT16_MAX)
|
||||
{
|
||||
// ignore skin wads (we don't want skin sprites interfering with vanilla sprites)
|
||||
if (W_CheckNumForNamePwad("S_SKIN", wadnum, 0) != UINT16_MAX)
|
||||
return;
|
||||
|
||||
start = 0; //let say S_START is lump 0
|
||||
}
|
||||
else
|
||||
start++; // just after S_START
|
||||
|
||||
if (end == INT16_MAX)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue