- 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:
Randy Heit 2009-04-03 02:37:01 +00:00
commit 4376c6b415
3 changed files with 11 additions and 1 deletions

View file

@ -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;
}
}