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:
parent
b85d46e450
commit
2d8b1e53ce
2 changed files with 9 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue