mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Removed pointer to army from StackInstance
This commit is contained in:
@ -361,7 +361,7 @@ void CRewardableObject::initializeGuards()
|
||||
if (!slotID.validSlot())
|
||||
return;
|
||||
|
||||
putStack(slotID, std::make_unique<CStackInstance>(guard.getId(), guard.getCount()));
|
||||
putStack(slotID, std::make_unique<CStackInstance>(cb, guard.getId(), guard.getCount()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user