mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix warning
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user