mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Nullkiller: fix/refactor temporary bonus nodes, fix gather army quest completion
This commit is contained in:
committed by
Andrii Danylchenko
parent
ae67ef027a
commit
d47564955e
@@ -536,21 +536,19 @@ CStackInstance::CStackInstance()
|
||||
}
|
||||
|
||||
CStackInstance::CStackInstance(CreatureID id, TQuantity Count, bool isHypothetic)
|
||||
: armyObj(_armyObj)
|
||||
: CBonusSystemNode(isHypothetic), armyObj(_armyObj)
|
||||
{
|
||||
init();
|
||||
setType(id);
|
||||
count = Count;
|
||||
CBonusSystemNode::isHypotheticNode = isHypothetic;
|
||||
}
|
||||
|
||||
CStackInstance::CStackInstance(const CCreature *cre, TQuantity Count, bool isHypothetic)
|
||||
: armyObj(_armyObj)
|
||||
: CBonusSystemNode(isHypothetic), armyObj(_armyObj)
|
||||
{
|
||||
init();
|
||||
setType(cre);
|
||||
count = Count;
|
||||
CBonusSystemNode::isHypotheticNode = isHypothetic;
|
||||
}
|
||||
|
||||
void CStackInstance::init()
|
||||
|
||||
Reference in New Issue
Block a user