- Fixed: Doom's status bar was lacking its default face.
- Fixed: Custom skin face graphics were not added to the texture manager. SVN r1519 (trunk)
This commit is contained in:
parent
ccd3b2a6e1
commit
4376c6b415
3 changed files with 11 additions and 1 deletions
|
|
@ -63,6 +63,14 @@ void FImageCollection::Add (const char **patchNames, int numPatches, int namespc
|
|||
for (int i = 0; i < numPatches; ++i)
|
||||
{
|
||||
FTextureID picnum = TexMan.CheckForTexture(patchNames[i], namespc);
|
||||
if (!picnum.isValid())
|
||||
{
|
||||
int lumpnum = Wads.CheckNumForName(patchNames[i], namespc);
|
||||
if (lumpnum >= 0)
|
||||
{
|
||||
picnum = TexMan.CreateTexture(lumpnum, namespc);
|
||||
}
|
||||
}
|
||||
ImageMap[OldCount + i] = picnum;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue