Browse Source

fix a warning

AlexVinS 10 years ago
parent
commit
c9e03405f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AI/VCAI/Goals.h

+ 1 - 1
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<CIssueCommand>