1
0
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:
DjWarmonger 2011-02-06 17:37:51 +00:00
parent 2ff07fa66a
commit 125f39275d
2 changed files with 2 additions and 1 deletions

View File

@ -136,7 +136,7 @@ template <typename input, typename conType> void Rule<input, conType>::refreshRu
} }
bool BonusCondition::matchesFact(Bonus &fact) 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 true;
return false; return false;
} }

View File

@ -1,6 +1,7 @@
#include "CKingdomInterface.h" #include "CKingdomInterface.h"
#include "AdventureMapButton.h" #include "AdventureMapButton.h"
#include "CAdvmapInterface.h" #include "CAdvmapInterface.h"
#include "CPlayerInterface.h"
#include "../CCallback.h" #include "../CCallback.h"
#include "../global.h" #include "../global.h"
#include "CConfigHandler.h" #include "CConfigHandler.h"