mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Make IObjectInterface::cb non-static
This commit is contained in:
@@ -66,7 +66,7 @@ void CGPandoraBox::grantRewardWithMessage(const CGHeroInstance * h, int index, b
|
||||
return text;
|
||||
};
|
||||
|
||||
auto sendInfoWindow = [h](const MetaString & text, const Rewardable::Reward & reward)
|
||||
auto sendInfoWindow = [&](const MetaString & text, const Rewardable::Reward & reward)
|
||||
{
|
||||
InfoWindow iw;
|
||||
iw.player = h->tempOwner;
|
||||
|
||||
Reference in New Issue
Block a user