- 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
parent ccd3b2a6e1
commit 4376c6b415
3 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,6 @@
April 2, 2009 April 2, 2009
- Fixed: Doom's status bar was lacking its default face.
- Fixed: Custom skin face graphics were not added to the texture manager.
- Fixed: UseHealthItems() gave you health equal to the number of items in - Fixed: UseHealthItems() gave you health equal to the number of items in
the stack of health items, rather than the item's proper amount. the stack of health items, rather than the item's proper amount.

View File

@ -63,6 +63,14 @@ void FImageCollection::Add (const char **patchNames, int numPatches, int namespc
for (int i = 0; i < numPatches; ++i) for (int i = 0; i < numPatches; ++i)
{ {
FTextureID picnum = TexMan.CheckForTexture(patchNames[i], namespc); 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; ImageMap[OldCount + i] = picnum;
} }
} }

View File

@ -110,7 +110,7 @@ statusbar normal // Standard Doom Status bar
} }
drawselectedinventory alternateonempty, INDEXFONT, 143, 168 drawselectedinventory alternateonempty, INDEXFONT, 143, 168
{ {
drawmugshot 5, 143, 168; drawmugshot "STF", 5, 143, 168;
} }
} }