Fix conversions warning (again)
This commit is contained in:
parent
5521dd25b6
commit
b3480111db
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ Position Inky::target(const GameState & gameState) const {
|
|||
targetPosition.y += 2;
|
||||
break;
|
||||
case Direction::NONE:
|
||||
assert("Pacman should be moving!");
|
||||
assert(false && "Pacman should be moving!");
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ Position Pinky::target(const GameState & gameState) const {
|
|||
targetPosition.y += 4;
|
||||
break;
|
||||
case Direction::NONE:
|
||||
assert("Pacman should be moving!");
|
||||
assert(false && "Pacman should be moving!");
|
||||
break;
|
||||
}
|
||||
return gridPositionToPosition(targetPosition);
|
||||
|
|
Loading…
Reference in a new issue