1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-19 21:10:12 +02:00

Fix warning

This commit is contained in:
nordsoft 2023-09-16 14:30:25 +02:00
parent 10d783d8ee
commit a3b60bf829

View File

@ -212,7 +212,7 @@ void CGPandoraBox::serializeJsonOptions(JsonSerializeFormat & handler)
for(int idx = 0; idx < reward.primary.size(); idx ++)
{
handler.serializeInt(NPrimarySkill::names[idx], reward.primary[idx], 0);
updateReward |= reward.primary[idx];
updateReward |= bool(reward.primary[idx]);
}
addReward(updateReward);
}