From c9e03405f23d7ef58a5e439fba054dd8aa6874c2 Mon Sep 17 00:00:00 2001 From: AlexVinS Date: Sun, 25 Oct 2015 23:17:33 +0300 Subject: [PATCH] fix a warning --- AI/VCAI/Goals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AI/VCAI/Goals.h b/AI/VCAI/Goals.h index f6098d5d2..9819b4ba3 100644 --- a/AI/VCAI/Goals.h +++ b/AI/VCAI/Goals.h @@ -346,7 +346,7 @@ public: DigAtTile(int3 Tile) : CGoal (Goals::DIG_AT_TILE) {tile = Tile; priority = 20;}; TGoalVec getAllPossibleSubgoals() override {return TGoalVec();}; TSubgoal whatToDoToAchieve() override; - bool operator== (DigAtTile &g) { g.goalType == goalType && g.tile == tile; } + bool operator== (DigAtTile &g) { return g.goalType == goalType && g.tile == tile; } }; class CIssueCommand : public CGoal