mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-25 21:38:59 +02:00
Fix uninitialized variable
This commit is contained in:
parent
ebfebfd535
commit
042e46580b
@ -199,7 +199,7 @@ class DLL_LINKAGE CCreatureSet : public IArmyDescriptor //seven combined creatur
|
||||
CCreatureSet &operator=(const CCreatureSet&);
|
||||
public:
|
||||
TSlots stacks; //slots[slot_id]->> pair(creature_id,creature_quantity)
|
||||
ui8 formation; //0 - wide, 1 - tight
|
||||
ui8 formation = 0; //0 - wide, 1 - tight
|
||||
|
||||
CCreatureSet() = default; //Should be here to avoid compile errors
|
||||
virtual ~CCreatureSet();
|
||||
|
Loading…
x
Reference in New Issue
Block a user