No shouty

This commit is contained in:
Patricia Aas 2021-09-10 15:49:33 +02:00
parent 90f546f1b2
commit 262ac5dcc5
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ Position Inky::target(const GameState & gameState) const {
targetPosition.y += 2; targetPosition.y += 2;
break; break;
case Direction::NONE: case Direction::NONE:
assert(false && "Pacman should be moving!"); assert(false && "Pacman should be moving");
break; break;
} }

View File

@ -43,7 +43,7 @@ Position Pinky::target(const GameState & gameState) const {
targetPosition.y += 4; targetPosition.y += 4;
break; break;
case Direction::NONE: case Direction::NONE:
assert(false && "Pacman should be moving!"); assert(false && "Pacman should be moving");
break; break;
} }
return gridPositionToPosition(targetPosition); return gridPositionToPosition(targetPosition);