From b664f9a12877256c8d588a737a8951b85fc92b7f Mon Sep 17 00:00:00 2001 From: Nordsoft91 Date: Sun, 28 Aug 2022 13:55:37 +0400 Subject: [PATCH] Fix for #3218 (#777) --- lib/HeroBonus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/HeroBonus.cpp b/lib/HeroBonus.cpp index d8b457f38..5a59862cc 100644 --- a/lib/HeroBonus.cpp +++ b/lib/HeroBonus.cpp @@ -948,7 +948,7 @@ void CBonusSystemNode::getAllBonusesRec(BonusList &out) const getAllParents(lparents); for(auto parent : lparents) - parent->bonuses.getAllBonuses(beforeUpdate); + parent->getAllBonusesRec(beforeUpdate); bonuses.getAllBonuses(beforeUpdate);