Commit c7610f80 authored by Arne Graf's avatar Arne Graf

fixed compiler bug

parent 8139b85c
Pipeline #9179 failed with stages
in 13 seconds
......@@ -1736,7 +1736,7 @@ RectGrid* UnivFFviaFM::getGrid(){
return _grid;
}
void UnivFFviaFM::getDirectionToUID(int destID, const long int key, Point& direction, int mode){
void UnivFFviaFM::getDirectionToUID(int destID, long int key, Point& direction, int mode){
assert(key > 0 && key < _nPoints);
if ((_gridCode[key] == OUTSIDE) || (_gridCode[key] == WALL)) {
//bresenham line (treppenstruktur) getKeyAtPoint yields gridpoint next to edge, although position is on edge
......@@ -1781,7 +1781,7 @@ void UnivFFviaFM::getDirectionToUID(int destID, const long int key, Point& direc
return;
}
void UnivFFviaFM::getDirectionToUID(int destID, const long int key, Point& direction){
void UnivFFviaFM::getDirectionToUID(int destID, long int key, Point& direction){
assert(key > 0 && key < _nPoints);
if ((_gridCode[key] == OUTSIDE) || (_gridCode[key] == WALL)) {
//bresenham line (treppenstruktur) getKeyAtPoint yields gridpoint next to edge, although position is on edge
......
......@@ -109,8 +109,8 @@ public:
double getCostToDestination(const int destID, const Point& position);
double getDistanceBetweenDoors(const int door1_ID, const int door2_ID);
RectGrid* getGrid();
virtual void getDirectionToUID(int destID, const long int key, Point& direction, int mode);
void getDirectionToUID(int destID, const long int key, Point& direction);
virtual void getDirectionToUID(int destID, long int key, Point& direction, int mode);
void getDirectionToUID(int destID, long int key, Point& direction);
virtual void getDirectionToUID(int destID, const Point& pos, Point& direction, int mode);
void getDirectionToUID(int destID, const Point& pos, Point& direction);
double getDistance2WallAt(const Point& pos);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment