Initialize member
This commit is contained in:
parent
4b364bdda8
commit
a06281f145
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ void Ghost::updateDirection(const GameState & gameState) {
|
|||
return;
|
||||
|
||||
struct Move {
|
||||
Direction direction;
|
||||
Direction direction = Direction::NONE;
|
||||
Position position;
|
||||
double distance_to_target = std::numeric_limits<double>::infinity();
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue