mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Support pickable objects
This commit is contained in:
parent
ad01c7ffce
commit
a598925a0b
@ -94,6 +94,8 @@ void CRandomRewardObjectInfo::configureObject(CRewardableObject * object, CRando
|
||||
|
||||
info.reward.movePoints = JsonRandom::loadValue(reward["movePoints"], rng);
|
||||
info.reward.movePercentage = JsonRandom::loadValue(reward["movePercentage"], rng, -1);
|
||||
|
||||
info.reward.removeObject = reward["removeObject"].Bool();
|
||||
|
||||
//FIXME: compile this line on Visual
|
||||
//info.reward.bonuses = JsonRandom::loadBonuses(reward["bonuses"]);
|
||||
|
Loading…
Reference in New Issue
Block a user