mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	One more thing.
This commit is contained in:
		| @@ -656,7 +656,7 @@ void CBonusSystemNode::addNewBonus(Bonus *b) | ||||
|  | ||||
| void CBonusSystemNode::accumulateBonus(Bonus &b) | ||||
| { | ||||
| 	Bonus *bonus = bonuses.getFirst(Selector::typeSubtype(b.type, b.subtype)); //only local bonuses are interesting //TODO: what about value type? | ||||
| 	Bonus *bonus = exportedBonuses.getFirst(Selector::typeSubtype(b.type, b.subtype)); //only local bonuses are interesting //TODO: what about value type? | ||||
| 	if(bonus) | ||||
| 		bonus += b.val; | ||||
| 	else | ||||
|   | ||||
		Reference in New Issue
	
	Block a user