mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Compile fix for previous commit.
This commit is contained in:
parent
2ff07fa66a
commit
125f39275d
@ -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;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
#include "CKingdomInterface.h"
|
||||
#include "AdventureMapButton.h"
|
||||
#include "CAdvmapInterface.h"
|
||||
#include "CPlayerInterface.h"
|
||||
#include "../CCallback.h"
|
||||
#include "../global.h"
|
||||
#include "CConfigHandler.h"
|
||||
|
Loading…
Reference in New Issue
Block a user