Fixing tidy error.
This commit is contained in:
parent
ed6466a306
commit
2afe8f1d36
1 changed files with 2 additions and 2 deletions
|
@ -107,8 +107,8 @@ void Canvas::renderFruits(const Fruits & fruit, int eatenFruits) {
|
|||
const auto & pos = fruit.position();
|
||||
renderSprite(sprite, pos);
|
||||
}
|
||||
const size_t x = static_cast<size_t>(LEFT_MARGIN + TARGET_MAZE_WIDTH + LEFT_MARGIN);
|
||||
const size_t y = static_cast<size_t>((TARGET_MAZE_HEIGHT / 3.0) * 2);
|
||||
const auto x = static_cast<size_t>(LEFT_MARGIN + TARGET_MAZE_WIDTH + LEFT_MARGIN);
|
||||
const auto y = static_cast<size_t>((TARGET_MAZE_HEIGHT / 3.0) * 2);
|
||||
|
||||
for (auto i = 0; i < eatenFruits + 1; i++) {
|
||||
auto sprite_position = float(i) * SPRITE_WIDTH * 1.5f;
|
||||
|
|
Loading…
Reference in a new issue