- Fixed: Uninitialized variable on DrawSelectedInventory.

This commit is contained in:
Braden Obrzut 2016-01-23 21:40:19 -05:00
parent 20f7f524ca
commit 5abacf0b2f

View file

@ -1595,7 +1595,7 @@ class CommandDrawSelectedInventory : public CommandDrawImage, private CommandDra
public:
CommandDrawSelectedInventory(SBarInfo *script) : CommandDrawImage(script),
CommandDrawNumber(script), alternateOnEmpty(false),
artiflash(false), alwaysShowCounter(false)
artiflash(false), alwaysShowCounter(false), itemflash(false)
{
length = INT_MAX; // Counter size
}