mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-21 20:11:12 +00:00
W_GetTexPatchLumpNum uses W_CheckNumForPatchName
Absolutely never allow a flat
This commit is contained in:
parent
7c4442a340
commit
90195e6105
1 changed files with 1 additions and 1 deletions
|
@ -1179,7 +1179,7 @@ static lumpnum_t W_GetTexPatchLumpNum(const char *name)
|
|||
if (lump == LUMPERROR)
|
||||
{
|
||||
// Use whatever else you can find.
|
||||
return W_GetNumForName(name);
|
||||
return W_CheckNumForPatchName(name);
|
||||
}
|
||||
|
||||
return lump;
|
||||
|
|
Loading…
Reference in a new issue