瀏覽代碼

fix a warning

AlexVinS 10 年之前
父節點
當前提交
c9e03405f2
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>