mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix uninitialized variable
This commit is contained in:
@@ -199,7 +199,7 @@ class DLL_LINKAGE CCreatureSet : public IArmyDescriptor //seven combined creatur
|
|||||||
CCreatureSet &operator=(const CCreatureSet&);
|
CCreatureSet &operator=(const CCreatureSet&);
|
||||||
public:
|
public:
|
||||||
TSlots stacks; //slots[slot_id]->> pair(creature_id,creature_quantity)
|
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
|
CCreatureSet() = default; //Should be here to avoid compile errors
|
||||||
virtual ~CCreatureSet();
|
virtual ~CCreatureSet();
|
||||||
|
Reference in New Issue
Block a user