From 9cd0e48ea3291e65a878c8ce8e28c2e619af1875 Mon Sep 17 00:00:00 2001 From: Braden Obrzut Date: Sat, 18 Feb 2012 02:01:28 +0000 Subject: [PATCH] - Fixed: Forgot to initialize inventoryItem to NULL in DrawBar. SVN r3370 (trunk) --- src/g_shared/sbarinfo_commands.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/g_shared/sbarinfo_commands.cpp b/src/g_shared/sbarinfo_commands.cpp index 6a295237a..b68cd5d38 100644 --- a/src/g_shared/sbarinfo_commands.cpp +++ b/src/g_shared/sbarinfo_commands.cpp @@ -2637,6 +2637,7 @@ class CommandDrawBar : public SBarInfoCommand public: AdditionalData() : useMaximumConstant(false) { + inventoryItem = NULL; } bool useMaximumConstant;