mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
ArtInfoWindow on client. Lib side
This commit is contained in:
@@ -212,7 +212,7 @@ void Rewardable::Interface::grantRewardAfterLevelup(const Rewardable::VisitInfo
|
||||
|
||||
if(info.reward.removeObject)
|
||||
if(auto * instance = dynamic_cast<const CGObjectInstance*>(this))
|
||||
cb->removeAfterVisit(instance);
|
||||
cb->removeAfterVisit(instance->id);
|
||||
}
|
||||
|
||||
void Rewardable::Interface::serializeJson(JsonSerializeFormat & handler)
|
||||
|
||||
Reference in New Issue
Block a user