mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Removed pointer to army from StackInstance
This commit is contained in:
@@ -672,7 +672,7 @@ void CGCreature::serializeJsonOptions(JsonSerializeFormat & handler)
|
||||
{
|
||||
si32 amount = 0;
|
||||
handler.serializeInt("amount", amount);
|
||||
auto hlp = std::make_unique<CStackInstance>();
|
||||
auto hlp = std::make_unique<CStackInstance>(cb);
|
||||
hlp->count = amount;
|
||||
//type will be set during initialization
|
||||
putStack(SlotID(0), std::move(hlp));
|
||||
|
||||
Reference in New Issue
Block a user