Final fix for end of movement

I was being dumb again : if we are adjacent to a target entity, stop moving
This commit is contained in:
trotFunky 2019-06-10 21:53:39 +02:00
parent b85d46e450
commit 2d8b1e53ce
2 changed files with 9 additions and 10 deletions

View file

@ -50,9 +50,6 @@ private:
const std::vector<pro_maat::GridPos>& occupiedSquares;
const pro_maat::GridPos& mapSize;
pro_maat::GridPos previousPosition;
pro_maat::GridPos previousTarget;
};
#endif //PROJECT_MAAT_RULES_H