diff --git a/src/unit/unit.cpp b/src/unit/unit.cpp index 83714717d..cda56c028 100644 --- a/src/unit/unit.cpp +++ b/src/unit/unit.cpp @@ -2627,9 +2627,11 @@ global Unit* FindOilPlatform(const Player* player,int x,int y) } DebugLevel3Fn("%d %d,%d\n",UnitNumber(best),best->X,best->Y); + /* Oil platforms are our own, they should be known if( LimitSearch && (best_d>TheMap.Width/5 || best_d>TheMap.Height/5) ) { return NoUnitP; } + */ return best; }