From c07eaa4d31597fa597e37ebced96fe50683c1ad2 Mon Sep 17 00:00:00 2001 From: Braden Obrzut Date: Sat, 28 Apr 2012 03:13:39 +0000 Subject: [PATCH] - Fixed typo in SBarInfo WeaponIcon code. That said, I do wonder if the new behavior might break some existing status bar since it might be intended that weapons such as the fists draw no icon. SVN r3604 (trunk) --- src/g_shared/sbarinfo_commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_shared/sbarinfo_commands.cpp b/src/g_shared/sbarinfo_commands.cpp index 7124f8abd0..c044f0525a 100644 --- a/src/g_shared/sbarinfo_commands.cpp +++ b/src/g_shared/sbarinfo_commands.cpp @@ -181,7 +181,7 @@ class CommandDrawImage : public SBarInfoCommand { icon = GetWeaponIcon(weapon); } - texture = TexMan[weapon->Icon]; + texture = TexMan[icon]; } } else if(type == SIGIL)