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;