mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Compile fix for previous commit.
This commit is contained in:
@@ -136,7 +136,7 @@ template <typename input, typename conType> void Rule<input, conType>::refreshRu
|
||||
}
|
||||
bool BonusCondition::matchesFact(Bonus &fact)
|
||||
{
|
||||
if (object(fact)) //Bonus(fact) matches local Selector(object)
|
||||
if (object(&fact)) //Bonus(fact) matches local Selector(object)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user