mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-19 21:10:12 +02:00
Fix warning
This commit is contained in:
parent
10d783d8ee
commit
a3b60bf829
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user