- Fixed: The mugshot drawe ignored the accuracy parameter.

- Fixed: The Alt HUD's weapon drawer didn't check properly for invalid icons.


SVN r1102 (trunk)
This commit is contained in:
Christoph Oelckers 2008-08-02 10:51:00 +00:00
commit 76a0086744
3 changed files with 4 additions and 2 deletions

View file

@ -588,7 +588,7 @@ static void DrawOneWeapon(player_t * CPlayer, int x, int & y, AWeapon * weapon)
FState * state=NULL, *ReadyState;
FTextureID AltIcon = GetHUDIcon(weapon->GetClass());
picnum = AltIcon.isValid()? AltIcon : weapon->Icon;
picnum = !AltIcon.isNull()? AltIcon : weapon->Icon;
if (picnum.isNull())
{